com.atlassian.jira.security.roles
Class RoleActorComparator

java.lang.Object
  extended by com.atlassian.jira.security.roles.RoleActorComparator
All Implemented Interfaces:
Comparator<RoleActor>

public final class RoleActorComparator
extends Object
implements Comparator<RoleActor>

Compares RoleActor objects case insensitively by name. This is a singleton.


Field Summary
static RoleActorComparator COMPARATOR
          Singleton instance of this class.
 
Method Summary
 int compare(RoleActor o1, RoleActor 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
 

Field Detail

COMPARATOR

public static final RoleActorComparator COMPARATOR
Singleton instance of this class.

Method Detail

compare

public int compare(RoleActor o1,
                   RoleActor o2)
Specified by:
compare in interface Comparator<RoleActor>


Copyright © 2002-2012 Atlassian. All Rights Reserved.