com.atlassian.bamboo.build
Class LongestRunningComparator

java.lang.Object
  extended by com.atlassian.bamboo.build.LongestRunningComparator
All Implemented Interfaces:
java.util.Comparator

public class LongestRunningComparator
extends java.lang.Object
implements java.util.Comparator


Field Summary
static java.lang.String ASC
           
static java.lang.String DESC
           
 
Constructor Summary
LongestRunningComparator(java.lang.String order)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object 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
 

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

LongestRunningComparator

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

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.