Package org.javlo.helper.Comparator
Class StringSizeComparator
- java.lang.Object
-
- org.javlo.helper.Comparator.StringSizeComparator
-
- All Implemented Interfaces:
Comparator<String>
public class StringSizeComparator extends Object implements Comparator<String>
-
-
Constructor Summary
Constructors Constructor Description StringSizeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(String arg0, String arg1)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(String arg0, String arg1)
- Specified by:
compare
in interfaceComparator<String>
-
-