Method Summary |
|
public boolean | contains(long groupId) Returns true if the group is contained in the group list. |
public UserGroup | get(int pos) Returns the group at the given position. |
public UserGroup[] | getGroups() Returns all groups in the list. |
public List<UserGroup> | getList() |
public void | remove(UserGroup group) Removes a group from the list. |
public void | remove(UserGroup[] group) Removes groups from the list. |
public void | remove(long[] groupId) Removes groups identified by the unique id from the list. |
public void | remove(long groupId) Removes a group identified by its unique id from the list. |
public int | size() Returns the amount of groups in the list. |
public long[] | toLongArray() Returns a array holding the id's of all groups in the list. |
public String[] | toNameArray() Returns a array holding the names of all groups in the list. |
public String | toNameString() Returns a comma seperated list of the group names. |
public String | toString() Returns a string representation of the groups. |