junit.runner

Class Sorter


public class Sorter
extends java.lang.Object

A custom quick sort with support to customize the swap behaviour. NOTICE: We can't use the the sorting support from the JDK 1.2 collection classes because of the JDK 1.1.7 compatibility.

Nested Class Summary

static interface
Sorter.Swapper

Method Summary

static void
sortStrings(Vector values, int left, int right, Sorter.Swapper swapper)

Method Details

sortStrings

public static void sortStrings(Vector values,
                               int left,
                               int right,
                               Sorter.Swapper swapper)