Class OrderComparator<T extends Ordered>
java.lang.Object
org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.common.OrderComparator<T>
- Type Parameters:
T
- T
- All Implemented Interfaces:
Serializable
,Comparator<T>
public class OrderComparator<T extends Ordered>
extends Object
implements Comparator<T>, Serializable
Comparator for comparing objects which extend Ordered.
- See Also:
-
Constructor Summary
-
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
-
OrderComparator
public OrderComparator()
-
-
Method Details
-
build
-
compare
- Specified by:
compare
in interfaceComparator<T extends Ordered>
-