Class CollatorComparator<T>
java.lang.Object
de.bsvrz.sys.funclib.kappich.collections.CollatorComparator<T>
- All Implemented Interfaces:
java.util.Comparator<T>
public final class CollatorComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
Optimierung Sortierung nach einem Collator
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCollatorComparator.SortKey -
Constructor Summary
Constructors Constructor Description CollatorComparator(java.util.function.Function<T,java.lang.String> toStringFunction, java.util.Locale locale) -
Method Summary
Modifier and Type Method Description intcompare(T o1, T o2)CollatorComparator.SortKeygetSortKey(T o)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong