com.atlassian.jira.security.roles
Class ProjectRoleComparator

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

public final class ProjectRoleComparator
extends java.lang.Object
implements java.util.Comparator<ProjectRole>

Compares ProjectRole objects based on case insensitive name comparison.


Field Summary
static java.util.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 java.util.Comparator<ProjectRole> COMPARATOR
Method Detail

compare

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


Copyright © 2002-2010 Atlassian. All Rights Reserved.