com.atlassian.confluence.schedule
Class ScheduledJobHistory.NaturalComparator

java.lang.Object
  extended by com.atlassian.confluence.schedule.ScheduledJobHistory.NaturalComparator
All Implemented Interfaces:
java.util.Comparator<ScheduledJobHistory>
Enclosing class:
ScheduledJobHistory

public static class ScheduledJobHistory.NaturalComparator
extends java.lang.Object
implements java.util.Comparator<ScheduledJobHistory>

Natural order is by the natural order of startDate, then endDate (if required).


Constructor Summary
ScheduledJobHistory.NaturalComparator()
           
 
Method Summary
 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
 

Constructor Detail

ScheduledJobHistory.NaturalComparator

public ScheduledJobHistory.NaturalComparator()
Method Detail

compare

public int compare(ScheduledJobHistory o1,
                   ScheduledJobHistory o2)
Specified by:
compare in interface java.util.Comparator<ScheduledJobHistory>


Copyright © 2003-2014 Atlassian. All Rights Reserved.