ThreadGroup.enumerate

ThreadGroup.enumerate

Class Overview | Class Members | This Package | All Packages

Syntax
public int enumerate( ThreadGroup list[] )
Parameters
list
an array into which to place the list of thread groups.
Returns
the number of thread groups put into the array.
Description
Copies into the specified array references to every active subgroup in this thread group.

An application should use the activeGroupCount method to get an estimate of how big the array should be. If the array is too short to hold all the thread groups, the extra thread groups are silently ignored.

See Also
activeGroupCount