Package one.microstream.functional
Class ComparatorReversed<T>
- java.lang.Object
-
- one.microstream.functional.ComparatorReversed<T>
-
- All Implemented Interfaces:
Comparator<T>
public class ComparatorReversed<T> extends Object implements Comparator<T>
-
-
Constructor Summary
Constructors Constructor Description ComparatorReversed(Comparator<? super T> comparator)
-
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 Detail
-
ComparatorReversed
public ComparatorReversed(Comparator<? super T> comparator)
-
-
Method Detail
-
compare
public int compare(T o1, T o2)
- Specified by:
compare
in interfaceComparator<T>
-
-