- All Implemented Interfaces:
- com.helger.commons.compare.IComparator<ITrigger>, Serializable, Comparator<ITrigger>
public class TriggerTimeComparator
extends Object
implements com.helger.commons.compare.IComparator<ITrigger>
A Comparator that compares trigger's next fire times, or in other words,
sorts them according to earliest next fire time. If the fire times are the
same, then the triggers are sorted according to priority (highest value
first), if the priorities are the same, then they are sorted by key.
- See Also:
- Serialized Form