On this page

$group.create()

Create a new instance of a group tool.


NameType Description 
Parameter(s) 
ReturnGroupTool An instance of
a group tool.


$group.init()

Initialize a group tool.


Name Type Description 
Parameter(s) 
Return void -


$group.groupNames()

Return a set of group names.


Name Type Description 
Parameter(s) 
Return java.util.SetA set of group
names. 


$group.contains(groupName)

Test whether a group name is contained in a set of group names.


Name Type Description 
Parameter(s) groupName java.lang.StringA group name. 
Return-True if the group
name is contained
in a set of group names,
otherwise false. 


$group.put(groupName, object)

Add an object into a group.


Name Type Description 
Parameter(s) groupNamejava.lang.String A group name. 

objectjava.lang.Object An object being
added.
Return -void 


$group.get(groupName)

Return a list of group objects.


Name Type Description 
Parameter(s) groupName java.lang.String A group name. 
Return -java.util.List A list of group
objects.


$group.remove(groupName)

Remove a group from the specified group name.


Name Type Description 
Parameter(s)groupName java.lang.String A group name.
Return-java.util.List A list of group objects
previously associated
with a specified group
name, or null if there
is no group corresponding
to the key. 


$group.removeAll()

Remove all groups.


 NameType Description 
Parameter(s) 
Return void 


$group.clear()

Remove all mappings.


Name Type Description 
Parameter(s) 
Returnvoid