com.atlassian.jira.issue.comparator
Class UserNameComparator
java.lang.Object
com.atlassian.jira.issue.comparator.UserNameComparator
- All Implemented Interfaces:
- Comparator<User>
public class UserNameComparator
- extends Object
- implements Comparator<User>
Used to sort users based on Entity.getName()
, not taking into account the users
full name. If you want to sort first on the full name then use a
UserBestNameComparator
.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserNameComparator
public UserNameComparator(Locale locale)
compare
public int compare(User user1,
User user2)
- Specified by:
compare
in interface Comparator<User>
Copyright © 2002-2009 Atlassian. All Rights Reserved.