com.atlassian.bamboo.build
Class BuildDateComparator

java.lang.Object
  extended by com.atlassian.bamboo.build.BuildDateComparator
All Implemented Interfaces:
java.util.Comparator<ResultStatisticsProvider>

public class BuildDateComparator
extends java.lang.Object
implements java.util.Comparator<ResultStatisticsProvider>


Field Summary
static java.lang.String ASC
           
static java.lang.String DESC
           
 
Constructor Summary
BuildDateComparator()
           
BuildDateComparator(java.lang.String order)
           
 
Method Summary
 int compare(ResultStatisticsProvider r1, ResultStatisticsProvider r2)
           
 
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
 

Field Detail

DESC

public static final java.lang.String DESC
See Also:
Constant Field Values

ASC

public static final java.lang.String ASC
See Also:
Constant Field Values
Constructor Detail

BuildDateComparator

public BuildDateComparator()

BuildDateComparator

public BuildDateComparator(java.lang.String order)
Method Detail

compare

public int compare(ResultStatisticsProvider r1,
                   ResultStatisticsProvider r2)
Specified by:
compare in interface java.util.Comparator<ResultStatisticsProvider>


Copyright © 2010 Atlassian. All Rights Reserved.