public static class ClassDiscovery.StringCompare extends java.lang.Object implements java.util.Comparator, RevisionHandler
Constructor and Description |
---|
StringCompare() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object 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.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- the first objecto2
- the second objectpublic boolean equals(java.lang.Object obj)
equals
in interface java.util.Comparator
equals
in class java.lang.Object
obj
- the object to compare with this Comparatorpublic java.lang.String getRevision()
getRevision
in interface RevisionHandler