public class StringSizeComparator extends Object implements Comparator<String>
| Constructor and Description |
|---|
StringSizeComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String arg0,
String arg1) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(String arg0, String arg1)
compare in interface Comparator<String>Copyright © 2012-2018. All Rights Reserved.