Class CompoundIPAElementComparator
- All Implemented Interfaces:
Comparator<IPAElement>
A compound comparator for features, with a fallback to a string comparator
-
Constructor Summary
ConstructorsConstructorDescriptionCompoundIPAElementComparator(Collection<Comparator<IPAElement>> comparators) CompoundIPAElementComparator(Comparator<IPAElement>... comparators) -
Method Summary
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
-
Constructor Details
-
CompoundIPAElementComparator
public CompoundIPAElementComparator() -
CompoundIPAElementComparator
-
CompoundIPAElementComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<IPAElement>- Overrides:
comparein classCompoundComparator<IPAElement>
-