com.atlassian.core.user
Class BestNameComparator2

java.lang.Object
  extended by com.atlassian.core.user.BestNameComparator2
All Implemented Interfaces:
Comparator

public class BestNameComparator2
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
BestNameComparator2()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
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

BestNameComparator2

public BestNameComparator2()
Method Detail

compare

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


Copyright © 2015 Atlassian. All rights reserved.