com.atlassian.core.user
Class BestNameComparator
java.lang.Object
com.atlassian.core.user.BestNameComparator
- All Implemented Interfaces:
- Comparator
Deprecated. Use UserBestNameComparator
instead. Since v4.4.
public class BestNameComparator
- extends Object
- implements Comparator
This 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BestNameComparator
public BestNameComparator()
- Deprecated.
compare
public int compare(Object o1,
Object o2)
- Deprecated.
- Specified by:
compare
in interface Comparator
Copyright © 2002-2011 Atlassian. All Rights Reserved.