public class StringComparator extends Object implements Comparator<String>
| Modifier and Type | Field and Description |
|---|---|
static StringComparator |
INSTANCE
A static instance of a StringComparator
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String string1,
String string2)
Compare two Strings.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic static final StringComparator INSTANCE
public int compare(String string1, String string2)
compare in interface Comparator<String>string1 - First Stringstring2 - Second StringCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.