public class ArrayIndexComparator<E>
extends java.lang.Object
implements java.util.Comparator<java.lang.Integer>
Constructor and Description |
---|
ArrayIndexComparator(E[] data) |
ArrayIndexComparator(E[] data,
java.util.Comparator<E> comparator) |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Integer o1,
java.lang.Integer o2) |
java.lang.Integer[] |
createIndexArray() |
public ArrayIndexComparator(E[] data)