com.atlassian.crowd.model
Class NameComparator
java.lang.Object
com.atlassian.crowd.model.NameComparator
public class NameComparator
- extends Object
Provides case-insensitive normalisation for String
, model User
s and model Group
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
of
public static <T> Comparator<T> of(Class<T> type)
- Deprecated. use a
normaliserOf(Class)
instead to reduce the number of transformations
normaliserOf
public static <T> com.google.common.base.Function<T,String> normaliserOf(Class<T> type)
Copyright © 2013 Atlassian. All Rights Reserved.