com.atlassian.confluence.schedule
Class ScheduledJobHistory.NaturalComparator
java.lang.Object
com.atlassian.confluence.schedule.ScheduledJobHistory.NaturalComparator
- All Implemented Interfaces:
- Comparator<ScheduledJobHistory>
- Enclosing class:
- ScheduledJobHistory
public static class ScheduledJobHistory.NaturalComparator
- extends Object
- implements Comparator<ScheduledJobHistory>
Natural order is by the natural order of startDate, then endDate (if required).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScheduledJobHistory.NaturalComparator
public ScheduledJobHistory.NaturalComparator()
compare
public int compare(ScheduledJobHistory o1,
ScheduledJobHistory o2)
- Specified by:
compare
in interface Comparator<ScheduledJobHistory>