public static class SortLabels.CaseSensitiveComparator extends Object implements Comparator, Serializable
| Constructor and Description |
|---|
SortLabels.CaseSensitiveComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object 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, waitequalspublic int compare(Object o1, Object o2)
compare in interface Comparatoro1 - the first string to compareo2 - the second string to compareCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.