Class Overview
Used to sort users based on getName(), not taking into account the users
full name. If you want to sort first on the full name then use a
UserCachingComparator.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Comparator
|
int
|
compare(T arg0, T arg1)
|
|
boolean
|
equals(Object arg0)
|
|
Public Constructors
public
UserNameComparator
(Locale locale)
Public Methods
public
int
compare
(User user1, User user2)