JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.lang.Thread

Packages that use Thread
java.lang Provides classes that are fundamental to the design of the Java programming language. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of Thread in java.lang
 

Methods in java.lang that return Thread
static Thread Thread.currentThread()
          Returns a reference to the currently executing thread object.
 

Methods in java.lang with parameters of type Thread
 void Runtime.addShutdownHook(Thread hook)
          Registers a new virtual-machine shutdown hook.
 boolean Runtime.removeShutdownHook(Thread hook)
          De-registers a previously-registered virtual-machine shutdown hook.
static int Thread.enumerate(Thread[] tarray)
          Copies into the specified array every active thread in the current thread's thread group and its subgroups.
 int ThreadGroup.enumerate(Thread[] list)
          Copies into the specified array every active thread in this thread group and its subgroups.
 int ThreadGroup.enumerate(Thread[] list, boolean recurse)
          Copies into the specified array every active thread in this thread group.
 void ThreadGroup.uncaughtException(Thread t, Throwable e)
          Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception.
 void SecurityManager.checkAccess(Thread t)
          Throws a SecurityException if the calling thread is not allowed to modify the thread argument.
 

Uses of Thread in javax.swing.text
 

Methods in javax.swing.text that return Thread
protected  Thread AbstractDocument.getCurrentWriter()
          Fetches the current writing thread if there is one.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.