public class ShortArrayComparator extends Object implements Comparator<short[]>
Modifier and Type | Field and Description |
---|---|
static ShortArrayComparator |
INSTANCE
A static instance of a ShortArrayComparator
|
Modifier and Type | Method and Description |
---|---|
int |
compare(short[] shortArray1,
short[] shortArray2)
Compare two short 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 ShortArrayComparator INSTANCE
public int compare(short[] shortArray1, short[] shortArray2)
compare
in interface Comparator<short[]>
shortArray1
- First short arrayshortArray2
- Second short arrayCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.