Package org.ametys.core.util
Class StringUtils.AlphanumComparator
java.lang.Object
org.ametys.core.util.StringUtils.AlphanumComparator
- All Implemented Interfaces:
Comparator<String>
- Enclosing class:
StringUtils
Compares two strings ignoring case and accents and honoring natural numbers ordering.
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
AlphanumComparator
public AlphanumComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<String>
-