public static class ClassDiscovery.StringCompare extends Object implements Comparator, RevisionHandler
| Constructor and Description |
|---|
StringCompare() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object 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(Object o1, Object o2)
compare in interface Comparatoro1 - the first objecto2 - the second objectpublic boolean equals(Object obj)
equals in interface Comparatorequals in class Objectobj - the object to compare with this Comparatorpublic String getRevision()
getRevision in interface RevisionHandlerCopyright © 2021 University of Waikato, Hamilton, NZ. All rights reserved.