Uses of Class java.lang.ThreadGroup

Uses in package java.lang

Constructors with parameter type java.lang.ThreadGroup

Allocates a new Thread object.
Thread.Thread(ThreadGroup group, Runnable target, String name)
Allocate a new Thread object, with the specified ThreadGroup and name, and using the specified Runnable object's run() method to execute.
Thread.Thread(ThreadGroup group, Runnable target, String name, long size)
Allocate a new Thread object, as if by Thread(group, null, name), and give it the specified stack size, in bytes.
Allocates a new Thread object.
Create a new ThreadGroup using the given name and parent group.

Methods with parameter type java.lang.ThreadGroup

void
Check if the current thread is allowed to modify a ThreadGroup.
int
Copy all active ThreadGroups that are descendants of this ThreadGroup into the specified array.
int
ThreadGroup.enumerate(ThreadGroup[] array, boolean recurse)
Copy all active ThreadGroups that are children of this ThreadGroup into the specified array, and if desired, also all descendents.
boolean
Check whether this ThreadGroup is an ancestor of the specified ThreadGroup, or if they are the same.

Methods with return type java.lang.ThreadGroup

ThreadGroup
Get the parent of this ThreadGroup.
ThreadGroup
Get the ThreadGroup that a new Thread should belong to by default.
ThreadGroup
Get the ThreadGroup this Thread belongs to.