public static class ClassDiscovery.StringCompare extends java.lang.Object implements java.util.Comparator<java.lang.String>, RevisionHandler
Constructor and Description |
---|
StringCompare() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.String o1,
java.lang.String o2)
Compares its two arguments for order.
|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this Comparator.
|
java.lang.String |
getRevision()
Returns the revision string.
|
public int compare(java.lang.String o1, java.lang.String o2)
compare
in interface java.util.Comparator<java.lang.String>
o1
- the first objecto2
- the second objectpublic boolean equals(java.lang.Object obj)
equals
in interface java.util.Comparator<java.lang.String>
equals
in class java.lang.Object
obj
- the object to compare with this Comparatorpublic java.lang.String getRevision()
getRevision
in interface RevisionHandler