|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carrotsearch.hppc.sorting.IndirectComparator.DelegatingComparator<T>
public static final class IndirectComparator.DelegatingComparator<T>
A delegating comparator for object types.
Nested Class Summary |
---|
Constructor Summary | |
---|---|
IndirectComparator.DelegatingComparator(T[] array,
java.util.Comparator<? super T> delegate)
|
Method Summary | |
---|---|
int |
compare(int indexA,
int indexB)
See class documentation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndirectComparator.DelegatingComparator(T[] array, java.util.Comparator<? super T> delegate)
Method Detail |
---|
public final int compare(int indexA, int indexB)
IndirectComparator
compare
in interface IndirectComparator
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |