com.atlassian.jira.issue.label
Class LabelComparator

java.lang.Object
  extended by com.atlassian.jira.issue.label.LabelComparator
All Implemented Interfaces:
Comparator<Label>

@PublicApi
public class LabelComparator
extends Object
implements Comparator<Label>

Comparator that compares labels by label string

Since:
v4.2

Field Summary
static LabelComparator INSTANCE
           
 
Method Summary
 int compare(Label label1, Label label2)
           
 
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

INSTANCE

public static final LabelComparator INSTANCE
Method Detail

compare

public int compare(Label label1,
                   Label label2)
Specified by:
compare in interface Comparator<Label>


Copyright © 2002-2013 Atlassian. All Rights Reserved.