public static class StringComparators.StrlenComparator extends StringComparator
Constructor and Description |
---|
StrlenComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(String s,
String s2) |
boolean |
equals(Object o) |
byte[] |
getCacheKey() |
String |
toString() |
fromString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public boolean equals(Object o)
equals
in interface Comparator<String>
equals
in class Object
public byte[] getCacheKey()
getCacheKey
in class StringComparator
Copyright © 2011–2017. All rights reserved.