Package com.opencloud.rem.service.util
Class AlphanumericStringComparator
- java.lang.Object
-
- com.opencloud.rem.service.util.AbstractAlphanumericComparator
-
- com.opencloud.rem.service.util.AlphanumericStringComparator
-
- All Implemented Interfaces:
Comparator<String>
public class AlphanumericStringComparator extends AbstractAlphanumericComparator implements Comparator<String>
AComparator
forString
s that sorts using an alphanumeric sorting algorithm.
-
-
Constructor Summary
Constructors Constructor Description AlphanumericStringComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(String o1, String o2)
-
Methods inherited from class java.lang.Object
equals, 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 o1, String o2)
- Specified by:
compare
in interfaceComparator<String>
-
-