Annotation Interface Order
@Order
defines the sort order for an annotated component.
The value()
is optional and represents an order value for objects that should be orderable,
for example in a Collection. Lower values have higher priority. The default value is
Integer.MAX_VALUE
, indicating the lowest priority (losing to any
other specified order value).
Consult the javadoc for OrderComparator
for details on the sort semantics for non-ordered objects.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
int valueThe order value.Default is
Integer.MAX_VALUE
.- Default:
2147483647
-