| Constructor and Description |
|---|
InMemoryGroupSet()
Constructs an empty group set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Group aGroup)
Adds a group.
|
boolean |
contains(Group aGroup)
Determines if the group exists.
|
Group |
find(String aName)
Finds the group by name.
|
void |
groupModified(Group aGroup)
Must be called when the group has been modified to notify the group set.
|
Set<Group> |
list()
Returns the current groups.
|
boolean |
remove(Group aGroup)
Removes a group.
|
int |
size() |
public void groupModified(Group aGroup)
GroupSetgroupModified in interface GroupSetaGroup - Group that was modified.public Group find(String aName)
GroupSetpublic boolean contains(Group aGroup)
GroupSetpublic boolean add(Group aGroup)
GroupSetpublic boolean remove(Group aGroup)
GroupSetpublic Set<Group> list()
GroupSetCopyright © 2025. All rights reserved.