The sort method of the VectorSort Class contains the following signatures:
sort(Vector vector,Comparison comparison)
sort(Vector vector,Comparison comparison, int first, int size)
Sorts the specified Vector object using the specified Comparison object.
static public void sort(Vector vector, Comparison comparison);
vector | The Vector object to be sorted. |
comparison | The Comparison object to use. |
Sorts a subrange of the specified Vector object using the specified Comparison object.
static public void sort(Vector vector, Comparison comparison, int first, int size);
vector | The Vector object to be sorted. |
comparison | The Comparison object to use. |
first | The index of the beginning element of the subrange to sort. |
size | The number of elements of the subrange to sort. |