utilMDE
Class ArraysMDE.LongArrayComparatorLexical
Object
ArraysMDE.LongArrayComparatorLexical
- All Implemented Interfaces:
- Comparator<long[]>
- Enclosing class:
- ArraysMDE
public static final class ArraysMDE.LongArrayComparatorLexical
- extends Object
- implements Comparator<long[]>
Note: this comparator imposes orderings that are inconsistent with equals.
That is, it may return 0 if the arrays are not equal (but do contain
identical numbers).
|
Method Summary |
int |
compare(long[] a1,
long[] a2)
|
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArraysMDE.LongArrayComparatorLexical
public ArraysMDE.LongArrayComparatorLexical()
compare
public int compare(long[] a1,
long[] a2)
- Specified by:
compare in interface Comparator<long[]>