public class UserSet extends SecuritySet<User>
idMap, nameMap| Constructor and Description |
|---|
UserSet()
Constructs an empty UserSet
|
UserSet(Collection<? extends User> users)
Constructs a new UserSet with specified contents.
|
| Modifier and Type | Method and Description |
|---|---|
User |
getUserById(Object userId)
Deprecated.
use getById()
|
User |
getUserByName(String userName)
Deprecated.
use getByName()
|
String |
toString()
Print out a UserSet as a String
|
add, add, addAll, clear, contains, containsAll, containsId, containsName, getById, getByName, getIds, getNames, getSet, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArraypublic UserSet()
public UserSet(Collection<? extends User> users)
users - A collection of users to be contained in the set.@Deprecated public User getUserByName(String userName)
userName - Name of User.@Deprecated public User getUserById(Object userId)
userId - id of the User.public String toString()
toString in class SecuritySet<User>Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.