public final class StringComparator extends Object implements Comparator<String>, Serializable
| Constructor and Description |
|---|
StringComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String obj1,
String obj2)
Compare two objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(String obj1, String obj2)
compare in interface Comparator<String>obj1 - First objectobj2 - Second objectCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.