public static class SortLabels.CaseSensitiveComparator extends Object implements Comparator<String>, Serializable
| Constructor and Description |
|---|
CaseSensitiveComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String o1,
String o2)
compares the two strings, returns -1 if o1 is smaller than o2, 0 if equal
and +1 if greater.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(String o1, String o2)
compare in interface Comparator<String>o1 - the first string to compareo2 - the second string to compareCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.