java.lang.Object | ||
↳ | org.springframework.core.OrderComparator | |
↳ | org.springframework.core.annotation.AnnotationAwareOrderComparator |
java.util.Comparator implementation that checks
Ordered
as well as the
Order
annotation, with an order value provided by an
Ordered
instance overriding a statically defined
annotation value (if any).
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.OrderComparator
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine the order value for the given object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.OrderComparator
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.util.Comparator
|
Determine the order value for the given object.
The default implementation checks against the Ordered
interface. Can be overridden in subclasses.
obj | the object to check |
---|
Ordered.LOWEST_PRECEDENCE
as fallback