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, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final CharArrayComparator INSTANCE
public int compare(char[] charArray1,
char[] charArray2)
compare in interface Comparator<char[]>charArray1 - First char arraycharArray2 - Second char arrayCopyright © 2012–2019 Apache Mavibot Project Parent. All rights reserved.