com.atlassian.greenhopper.service.rank
Class FlatLexoRankableComparator

java.lang.Object
  extended by com.atlassian.greenhopper.service.rank.FlatLexoRankableComparator
All Implemented Interfaces:
java.util.Comparator<Rankable>

public class FlatLexoRankableComparator
extends java.lang.Object
implements java.util.Comparator<Rankable>


Field Summary
static int EQUAL
           
static int FIRST_SMALLER
           
static int SECOND_SMALLER
           
 
Constructor Summary
FlatLexoRankableComparator(LexoRankService lexoRankService, com.atlassian.jira.issue.fields.CustomField customField)
           
 
Method Summary
 int compare(Rankable first, Rankable second)
           
 
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

EQUAL

public static final int EQUAL
See Also:
Constant Field Values

FIRST_SMALLER

public static final int FIRST_SMALLER
See Also:
Constant Field Values

SECOND_SMALLER

public static final int SECOND_SMALLER
See Also:
Constant Field Values
Constructor Detail

FlatLexoRankableComparator

public FlatLexoRankableComparator(LexoRankService lexoRankService,
                                  com.atlassian.jira.issue.fields.CustomField customField)
Method Detail

compare

public int compare(Rankable first,
                   Rankable second)
Specified by:
compare in interface java.util.Comparator<Rankable>


Copyright © 2007-2014 Atlassian. All Rights Reserved.