com.atlassian.jira.issue.comparator
Class LocaleSensitiveStringComparator
java.lang.Object
com.atlassian.jira.issue.comparator.LocaleSensitiveStringComparator
- All Implemented Interfaces:
- Comparator<String>
public class LocaleSensitiveStringComparator
- extends Object
- implements Comparator<String>
Uses a locale to do a correct sort that will correctly sort i18n strings.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleSensitiveStringComparator
public LocaleSensitiveStringComparator(Locale locale)
compare
public int compare(String o1,
String o2)
- Specified by:
compare
in interface Comparator<String>
Copyright © 2002-2012 Atlassian. All Rights Reserved.