|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.comparator.UserNameComparator
public class UserNameComparator
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
.
Constructor Summary | |
---|---|
UserNameComparator(java.util.Locale locale)
|
Method Summary | |
---|---|
int |
compare(com.opensymphony.user.User user1,
com.opensymphony.user.User user2)
|
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 |
---|
public UserNameComparator(java.util.Locale locale)
Method Detail |
---|
public int compare(com.opensymphony.user.User user1, com.opensymphony.user.User user2)
compare
in interface java.util.Comparator<com.opensymphony.user.User>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |