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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Object o1, Object o2)
compare
in interface Comparator
o1
- the first objecto2
- the second objectpublic boolean equals(Object obj)
equals
in interface Comparator
equals
in class Object
obj
- the object to compare with this Comparatorpublic String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.