com.atlassian.jira.issue.comparator
Class LocaleSensitiveProjectNameComparator
java.lang.Object
com.atlassian.jira.issue.comparator.LocaleSensitiveProjectNameComparator
- All Implemented Interfaces:
- Comparator<Project>
public class LocaleSensitiveProjectNameComparator
- extends Object
- implements Comparator<Project>
Comparator for Project objects that only compares the names, uses the constructed locale to correctly sort
constants names taking into account i18n strings.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleSensitiveProjectNameComparator
public LocaleSensitiveProjectNameComparator(Locale locale)
compare
public int compare(Project project1,
Project project2)
- Specified by:
compare
in interface Comparator<Project>
Copyright © 2002-2012 Atlassian. All Rights Reserved.