com.atlassian.confluence.schedule
Class ScheduledJobHistory.NaturalComparator

java.lang.Object
  extended by 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
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 Comparator<ScheduledJobHistory>


Copyright © 2003-2011 Atlassian. All Rights Reserved.