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).
-
-
Constructor Summary
Constructors Constructor Description NaturalComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ScheduledJobHistory o1, ScheduledJobHistory o2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(ScheduledJobHistory o1, ScheduledJobHistory o2)
- Specified by:
compare
in interfaceComparator<ScheduledJobHistory>
-
-