Package ca.phon.ipa.features
Class CompoundIPAElementComparator
- All Implemented Interfaces:
Comparator<IPAElement>
A compound comparator for features, with a fallback to a string comparator
-
Constructor Summary
ConstructorDescriptionCompoundIPAElementComparator
(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, wait
Methods 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:
compare
in interfaceComparator<IPAElement>
- Overrides:
compare
in classCompoundComparator<IPAElement>
-