public class ArrayIndexComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.Integer>
Constructor and Description |
---|
ArrayIndexComparator(java.lang.Double[] array)
Instantiates a new array index comparator.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Integer arg0,
java.lang.Integer arg1) |
java.lang.Integer[] |
createIndexArray()
Creates the index array.
|