com.atlassian.jira.issue.fields
Class FieldNameComparator

java.lang.Object
  extended by com.atlassian.jira.issue.fields.FieldNameComparator
All Implemented Interfaces:
Comparator<Field>

@PublicApi
public class FieldNameComparator
extends Object
implements Comparator<Field>

Compares Fields based on their translated (i18n'd) name.

Since:
v5.0

Constructor Summary
FieldNameComparator(I18nHelper i18nHelper)
           
 
Method Summary
 int compare(Field field1, Field field2)
           
 
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
 

Constructor Detail

FieldNameComparator

public FieldNameComparator(I18nHelper i18nHelper)
Method Detail

compare

public int compare(Field field1,
                   Field field2)
Specified by:
compare in interface Comparator<Field>


Copyright © 2002-2015 Atlassian. All Rights Reserved.