Class LexicographicComparator<T>
java.lang.Object
tools.refinery.interpreter.rete.util.LexicographicComparator<T>
- All Implemented Interfaces:
Comparator<Iterable<? extends T>>
A comparator that compares two iterables based on the lexicographic sorting induced by a comparator on elements.
-
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
-
LexicographicComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-