public static class ClassDiscovery.StringCompare extends Object implements Comparator<String>, RevisionHandler
| Constructor and Description |
|---|
StringCompare() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String o1,
String o2)
Compares its two arguments for order.
|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this Comparator.
|
String |
getRevision()
Returns the revision string.
|
getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, 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 objecto2 - the second objectpublic boolean equals(Object obj)
equals in interface Comparator<String>equals in class Objectobj - the object to compare with this Comparatorpublic String getRevision()
getRevision in interface RevisionHandlerCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.