Package com.atlassian.core.user
Class BestNameComparator2
- java.lang.Object
-
- com.atlassian.core.user.BestNameComparator2
-
- All Implemented Interfaces:
Comparator
@Deprecated public class BestNameComparator2 extends Object implements Comparator
Deprecated.since 8.8 no replacementThis comparator tries to compare two users based on their 'best name' ie their full name if possible, otherwise their username.This comparator completely ignores case.
-
-
Constructor Summary
Constructors Constructor Description BestNameComparator2()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compare(Object o1, Object o2)
Deprecated.-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Object o1, Object o2)
Deprecated.- Specified by:
compare
in interfaceComparator
-
-