com.esri.gpt.framework.security.principal
Class Users
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<User>
com.esri.gpt.framework.security.principal.Users
- All Implemented Interfaces:
- Serializable, Cloneable, Comparator<User>, Map<String,User>
public class Users
- extends SecurityPrincipals<User>
- implements Comparator<User>
Defines a User collection.
- See Also:
- Serialized Form
Constructor Summary |
Users()
Default constructor. |
Method Summary |
int |
compare(User o1,
User o2)
Compares 2 users for sorting purposes. |
void |
sort()
Sorts a collection of users by display name. |
Users
public Users()
- Default constructor.
compare
public int compare(User o1,
User o2)
- Compares 2 users for sorting purposes.
The comparison is based upon the display name.
- Specified by:
compare
in interface Comparator<User>
- Parameters:
o1
- first user to compareo2
- second user to compare
sort
public void sort()
- Sorts a collection of users by display name.
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.