com.atlassian.jira.issue.statistics.util
Class NumericComparator

java.lang.Object
  extended by com.atlassian.jira.issue.statistics.util.NumericComparator
All Implemented Interfaces:
Comparator<Double>

public class NumericComparator
extends Object
implements Comparator<Double>

Class for comparing numeric fields (allows decimals)


Field Summary
static Comparator<Double> COMPARATOR
           
 
Method Summary
 int compare(Double o1, Double 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

COMPARATOR

public static final Comparator<Double> COMPARATOR
Method Detail

compare

public int compare(Double o1,
                   Double o2)
Specified by:
compare in interface Comparator<Double>


Copyright © 2002-2009 Atlassian. All Rights Reserved.