net.sourceforge.buildmonitor
Class BuildReport.AgeComparator

java.lang.Object
  extended by net.sourceforge.buildmonitor.BuildReport.AgeComparator
All Implemented Interfaces:
java.util.Comparator<BuildReport>
Enclosing class:
BuildReport

public static class BuildReport.AgeComparator
extends java.lang.Object
implements java.util.Comparator<BuildReport>

A comparator to use to compare BuildReport instance according to their age. Note: this comparator imposes orderings that are inconsistent with equals.


Constructor Summary
BuildReport.AgeComparator()
           
 
Method Summary
 int compare(BuildReport o1, BuildReport 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

BuildReport.AgeComparator

public BuildReport.AgeComparator()
Method Detail

compare

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


Copyright © 2007. All Rights Reserved.