com.atlassian.crowd.model
Class NameComparator

java.lang.Object
  extended by com.atlassian.crowd.model.NameComparator

public class NameComparator
extends Object

Provides case-insensitive normalisation for String, model Users and model Groups.


Method Summary
static
<T> com.google.common.base.Function<T,String>
normaliserOf(Class<T> type)
           
static
<T> Comparator<T>
of(Class<T> type)
          Deprecated. use a normaliserOf(Class) instead to reduce the number of transformations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.