Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.ThreadGroup

Packages that use ThreadGroup
java.lang |

Uses of ThreadGroup in java.lang

Methods in java.lang that return ThreadGroup
`ThreadGroup` | `ThreadGroup.getParent()` Returns the parent of this thread group.
`ThreadGroup` | `Thread.getThreadGroup()` Returns the thread group to which this thread belongs.
`ThreadGroup` | `SecurityManager.getThreadGroup()` Returns the thread group into which to instantiate any new thread being created at the time this is being called.

Methods in java.lang with parameters of type ThreadGroup
`boolean` | `ThreadGroup.parentOf(ThreadGroup g)` Tests if this thread group is either the thread group argument or one of its ancestor thread groups.
`int` | `ThreadGroup.enumerate(ThreadGroup[] list)` Copies into the specified array references to every active subgroup in this thread group.
`int` | `ThreadGroup.enumerate(ThreadGroup[] list, boolean recurse)` Copies into the specified array references to every active subgroup in this thread group.
`void` | `SecurityManager.checkAccess(ThreadGroup g)` Throws a `SecurityException` if the calling thread is not allowed to modify the thread group argument.

Constructors in java.lang with parameters of type ThreadGroup
`ThreadGroup(ThreadGroup parent, String name)` Creates a new thread group.
`Thread(ThreadGroup group, Runnable target)` Allocates a new `Thread` object.
`Thread(ThreadGroup group, String name)` Allocates a new `Thread` object.
`Thread(ThreadGroup group, Runnable target, String name)` Allocates a new `Thread` object so that it has `target` as its run object, has the specified `name` as its name, and belongs to the thread group referred to by `group`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| J2ME CDC
PREV NEXT | FRAMES NO FRAMES

Java is a trademark or registred trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo, Alto, California, 94303, U.S.A All Rights Reserved.