org.dlese.dpc.schemedit.security.util
Class RoleCollectionComparator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleCollectionComparator
public RoleCollectionComparator()
compare
public int compare(Object o1,
Object o2)
- A lexical comparison
- Specified by:
compare
in interface Comparator
- Parameters:
o1
- NOT YET DOCUMENTEDo2
- NOT YET DOCUMENTED
- Returns:
- NOT YET DOCUMENTED