| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ThreadGroup | |
|---|---|
| java.lang | Provides classes that are fundamental to the design of the Java programming language. | 
| 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 | |
|---|---|
|  void | SecurityManager.checkAccess(ThreadGroup g)Throws a SecurityExceptionif the 
 calling thread is not allowed to modify the thread group argument. | 
|  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. | 
|  boolean | ThreadGroup.parentOf(ThreadGroup g)Tests if this thread group is either the thread group argument or one of its ancestor thread groups. | 
| Constructors in java.lang with parameters of type ThreadGroup | |
|---|---|
| Thread(ThreadGroup group,
       Runnable target)Allocates a new Threadobject. | |
| Thread(ThreadGroup group,
       Runnable target,
       String name)Allocates a new Threadobject so that it hastargetas its run object, has the specifiednameas its name, and belongs to the thread group 
 referred to bygroup. | |
| Thread(ThreadGroup group,
       Runnable target,
       String name,
       long stackSize)Allocates a new Threadobject so that it hastargetas its run object, has the specifiednameas its name, belongs to the thread group referred to
 bygroup, and has the specified stack size. | |
| Thread(ThreadGroup group,
       String name)Allocates a new Threadobject. | |
| ThreadGroup(ThreadGroup parent,
            String name)Creates a new thread group. | |
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.