ThreadGroupEx.enumerate

Copies into the specified array references to every active subgroup in this thread group and its subgroups.

<p> An invocation of this method behaves in exactly the same way as the invocation

<blockquote> {@linkplain #enumerate(ThreadGroupEx[], bool) enumerate}{@code (list, true)} </blockquote>

@param list an array into which to put the list of thread groups

@return the number of thread groups put into the array

@throws SecurityException if {@linkplain #checkAccess checkAccess} determines that the current thread cannot access this thread group

Meta