public class StringLengthComparator extends Object implements Comparator<String>
A comparator implementation for strings that sorts them according to their length. Shortest strings are sorted first. Strings of equal length are sorted in their natural order.
- Last modified
- $Date: 2011-02-18 13:23:23 +0100 (fr, 18 feb 2011) $