public class StringComparator extends Object implements Comparator<String>
Constructor and Description |
---|
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, wait
equals
public int compare(String string1, String string2)
compare
in interface Comparator<String>
string1
- First Stringstring2
- Second StringCopyright © 2012-2013 Apache Mavibot Project Parent. All Rights Reserved.