Package ca.phon.util
Class CompoundComparator<T>
java.lang.Object
ca.phon.util.CompoundComparator<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Comparator<T>
- Direct Known Subclasses:
CompoundIPAElementComparator
-
Constructor Summary
ConstructorDescriptionCompoundComparator
(Collection<Comparator<T>> comparators) CompoundComparator
(Comparator<T>... 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
-
CompoundComparator
public CompoundComparator() -
CompoundComparator
-
CompoundComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-