public class AnnotationAwareOrderComparator extends OrderComparator
INSTANCE| Constructor and Description |
|---|
AnnotationAwareOrderComparator() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getOrder(java.lang.Object obj)
Determine the order value for the given object.
|
compare, sort, sortprotected int getOrder(java.lang.Object obj)
OrderComparatorThe default implementation checks against the Ordered
interface. Can be overridden in subclasses.
getOrder in class OrderComparatorobj - the object to checkOrdered.LOWEST_PRECEDENCE as fallback