public class StringLengthComparator extends Object implements Comparator<String>
Constructor and Description |
---|
StringLengthComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(String name1,
String name2) |
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 int compare(String name1, String name2)
compare
in interface Comparator<String>
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.