com.atlassian.core.user
Class BestNameComparator

java.lang.Object
  extended by 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.


Constructor Summary
BestNameComparator()
          Deprecated.  
 
Method Summary
 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
 

Constructor Detail

BestNameComparator

public BestNameComparator()
Deprecated. 
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Deprecated. 
Specified by:
compare in interface Comparator


Copyright © 2002-2011 Atlassian. All Rights Reserved.