com.esri.gpt.framework.security.principal
Class Groups
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,T>
com.esri.gpt.framework.collection.CaseInsensitiveMap<T>
com.esri.gpt.framework.security.principal.SecurityPrincipals<Group>
com.esri.gpt.framework.security.principal.Groups
- All Implemented Interfaces:
- Serializable, Cloneable, Comparator<Group>, Map<String,Group>
public class Groups
- extends SecurityPrincipals<Group>
- implements Comparator<Group>
Defines a Group collection.
- See Also:
- Serialized Form
Constructor Summary |
Groups()
Default constructor. |
Method Summary |
int |
compare(Group o1,
Group o2)
Compares 2 groups for sorting purposes. |
void |
sort()
Sorts a collection of groups by display name. |
Groups
public Groups()
- Default constructor.
compare
public int compare(Group o1,
Group o2)
- Compares 2 groups for sorting purposes.
The comparison is based upon the display name.
- Specified by:
compare
in interface Comparator<Group>
- Parameters:
o1
- first group to compareo2
- second group to compare
sort
public void sort()
- Sorts a collection of groups by display name.
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.