public class ApplicationUserBestNameComparator 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 |
---|
ApplicationUserBestNameComparator() |
ApplicationUserBestNameComparator(Locale locale) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ApplicationUser user1,
ApplicationUser user2) |
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 ApplicationUserBestNameComparator(Locale locale)
public ApplicationUserBestNameComparator()
public int compare(ApplicationUser user1, ApplicationUser user2)
compare
in interface Comparator<ApplicationUser>
Copyright © 2002-2018 Atlassian. All Rights Reserved.