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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final StringComparator INSTANCE
Copyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.