net.sourceforge.buildmonitor
Class BuildReport.NameComparator

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

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

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


Constructor Summary
BuildReport.NameComparator()
           
 
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.NameComparator

public BuildReport.NameComparator()
Method Detail

compare

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


Copyright © 2007. All Rights Reserved.