The sort method of the ArraySort Class contains the following signatures:
sort(Object array[], Comparison comparison)
sort(Object array[], Comparison comparison, int first, int size)
Sorts the specified Object array using a Comparison object.
static public void sort(Object array[], Comparison comparison);
array | The Object array to sort. |
comparison | The Comparison object to use. |
Sorts a subrange of the specified Object array using a Comparison object.
static public void sort(Object array[], Comparison comparison, int first,int size);
array | The Object array to sort. |
comparison | The Comparison to use. |
first | The beginning element of the subrange. |
size | The number of elements in the subrange. |