Package org.semanticweb.owlapi.util
Class HasPriorityComparator<T>
java.lang.Object
org.semanticweb.owlapi.util.HasPriorityComparator<T>
- Type Parameters:
T
- comparator type
- All Implemented Interfaces:
Serializable
,Comparator<T>
Comparator for objects with HasPriority annotations. Objects without
HasPriority are considered to have lowest priority (Double.MAX_VALUE).
- Author:
- ignazio
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, 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
-
HasPriorityComparator
public HasPriorityComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-