DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.security.util
Class RoleCollectionComparator

java.lang.Object
  extended by org.dlese.dpc.schemedit.security.util.RoleCollectionComparator
All Implemented Interfaces:
Serializable, Comparator

public class RoleCollectionComparator
extends Object
implements Comparator, Serializable

Sort the names of role-associated collections. Used to sort the UserRole map in CollectionAccessForm by collection name.

Author:
Jonathan Ostwald
See Also:
Serialized Form

Constructor Summary
RoleCollectionComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
          A lexical comparison
 
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
 

Constructor Detail

RoleCollectionComparator

public RoleCollectionComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
A lexical comparison

Specified by:
compare in interface Comparator
Parameters:
o1 - NOT YET DOCUMENTED
o2 - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED

DLESE Tools
v1.6.0