public interface MultiDimSort
MultiDimComparable
interface. It can also sort arrays of arrays of double's
(double[][]).
For MultiDimComparable objects, the dimension mentioned
below refers to the value returned by
dimension.
Method dimension returns the greatest dimension used in
the sort. The dimension of the objects must be greater or equal to
this dimension.
| Modifier and Type | Method and Description |
|---|---|
int |
dimension()
Returns the greatest dimension used in the sort.
|
void |
sort(double[][] a)
Sorts the entire array.
|
void |
sort(double[][] a,
int iMin,
int iMax)
Sorts the subarray of a made of the elements with indices from
iMin to iMax-1.
|
<T extends MultiDimComparable<? super T>> |
sort(T[] a)
Sorts the entire array.
|
<T extends MultiDimComparable<? super T>> |
sort(T[] a,
int iMin,
int iMax)
Sorts the subarray of a made of the elements with indices from
iMin to iMax-1.
|
<T extends MultiDimComparable<? super T>> void sort(T[] a, int iMin, int iMax)
a - array to sortiMin - index of first element to sortiMax - index of last element to sort is
<T extends MultiDimComparable<? super T>> void sort(T[] a)
a - array to sortvoid sort(double[][] a,
int iMin,
int iMax)
a - array to sortiMin - index of first element to sortiMax - index of last element to sort is
void sort(double[][] a)
a - array to sortint dimension()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.