UserCachingComparator
which
should be preferred.@Deprecated public class UserBestNameComparator extends Object implements Comparator<ApplicationUser>
This comparator completely ignores case. This uses the users locale to make sure that we correctly sort i18n characters.
Constructor and Description |
---|
UserBestNameComparator()
Deprecated.
|
UserBestNameComparator(Locale locale)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(ApplicationUser user1,
ApplicationUser user2)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public UserBestNameComparator(Locale locale)
public UserBestNameComparator()
public int compare(ApplicationUser user1, ApplicationUser user2)
compare
in interface Comparator<ApplicationUser>
Copyright © 2002-2021 Atlassian. All Rights Reserved.