Package io.micronaut.core.order
Interface Ordered
- All Known Subinterfaces:
LocaleResolver<T>
- All Known Implementing Classes:
AbstractLocaleResolver,FixedLocaleResolver
public interface Ordered
Interface for objects that are ordered.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant for the highest precedence value.static final intConstant for the lowest precedence value. -
Method Summary
-
Field Details
-
HIGHEST_PRECEDENCE
static final int HIGHEST_PRECEDENCEConstant for the highest precedence value.- See Also:
-
LOWEST_PRECEDENCE
static final int LOWEST_PRECEDENCEConstant for the lowest precedence value.- See Also:
-
-
Method Details
-
getOrder
default int getOrder()- Returns:
- The order of the object. Defaults to zero (no order).
-