ThreadGroupEx.enumerate

Copies into the specified array every active thread 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(Thread[], bool) enumerate}{@code (list, true)} </blockquote>

@param list an array into which to put the list of threads

@return the number of threads put into the array

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

Meta