Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 573 Bytes

Order.md

File metadata and controls

15 lines (11 loc) · 573 Bytes

Order Annotation

@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).

Usage Example:

@Order(1)
public class MyOrderedComponent {
    // Class definition
}