ColdSpring 2.0 - Narwhal

coldspring.core
Interface Ordered

WEB-INF.cftags.interface
        extended by coldspring.core.Ordered
All Known Implementing Classes:
PointcutAdvisor , DefaultPointcutAdvisor , TransactionInterceptor

public interface Ordered
extends WEB-INF.cftags.interface

Interface that can be implemented by objects that should be orderable, for example in a Collection.
The actual order can be interpreted as prioritization, with the first object (with the lowest order value) having the highest priority.
See coldspring.core.OrderedComparator for convenience functions


Method Summary
 numeric getOrder()
          Return the order value of this object, with a higher value meaning greater in terms of sorting
 
Methods inherited from class WEB-INF.cftags.interface
 

Method Detail

getOrder

public numeric getOrder()
Return the order value of this object, with a higher value meaning greater in terms of sorting.
Higher values can be interpreted as lower priority. As a consequence, the object with the lowest value has highest priority.


ColdSpring 2.0 - Narwhal