jd.util
Class StringComparator
java.lang.Object
jd.util.StringComparator
- All Implemented Interfaces:
- Comparator
- class StringComparator
- extends Object
- implements Comparator
Method Summary |
int |
compare(Object object1,
Object object2)
Compare the two arguments for order. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringComparator
StringComparator()
compare
public int compare(Object object1,
Object object2)
- Description copied from interface:
Comparator
- Compare the two arguments for order.
Return a negative integer, zero, or a positive integer as the first argument
is less than, equal to, or greater than the second.
- Specified by:
compare
in interface Comparator