org.springframework.core
Interface Ordered

public interface Ordered
Interface that can be implemented by objects that should be orderable, e.g. in a Collection. The actual order can be interpreted as prioritization, the first object (with the lowest order value) having the highest priority.
Since07.04.2003
VersionNot specified.
AuthorJuergen Hoeller
Wiki javadoc Use textile entry format.
Add your comments here.
Method Summary
int getOrder()
Return the order value of this object, higher value meaning greater in terms of sorting.
getOrder
public int getOrder ( )
Return the order value of this object, higher value meaning greater in terms of sorting. Normally starting with 0 or 1, Integer.MAX_VALUE indicating greatest. Same order values will result in arbitrary positions for the affected objects.

Higher value can be interpreted as lower priority, consequently the first object has highest priority (somewhat analogous to Servlet "load-on-startup" values).

Wiki javadoc Use textile entry format.
Add your comments here.