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