public class LongArrayComparator extends Object implements Comparator<long[]>
Modifier and Type | Field and Description |
---|---|
static LongArrayComparator |
INSTANCE
A static instance of a LongArrayComparator
|
Modifier and Type | Method and Description |
---|---|
int |
compare(long[] longArray1,
long[] longArray2)
Compare two long arrays.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final LongArrayComparator INSTANCE
public int compare(long[] longArray1, long[] longArray2)
compare
in interface Comparator<long[]>
longArray1
- First long arraylongArray2
- Second long arrayCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.