com.atlassian.crowd.model
Class NameComparator

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

public class NameComparator
extends java.lang.Object

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


Method Summary
static
<T> com.google.common.base.Function<T,java.lang.String>
normaliserOf(java.lang.Class<T> type)
           
static
<T> java.util.Comparator<T>
of(java.lang.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> java.util.Comparator<T> of(java.lang.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,java.lang.String> normaliserOf(java.lang.Class<T> type)


Copyright © 2012 Atlassian. All Rights Reserved.