com.atlassian.jira.security.roles
Class ProjectRoleComparator

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

public final class ProjectRoleComparator
extends Object
implements Comparator<ProjectRole>

Compares ProjectRole objects based on case insensitive name comparison.


Field Summary
static Comparator<ProjectRole> COMPARATOR
           
 
Method Summary
 int compare(ProjectRole o1, ProjectRole 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 Comparator<ProjectRole> COMPARATOR
Method Detail

compare

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


Copyright © 2002-2011 Atlassian. All Rights Reserved.