JavaTM 2 Platform
Std. Ed. v1.3.1

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
 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.
static int Thread.enumerate(Thread[] tarray)
          Copies into the specified array every active thread in this thread's thread group and its subgroups.
 void SecurityManager.checkAccess(Thread t)
          Throws a SecurityException if the calling thread is not allowed to modify the thread argument.
 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.
 

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.3.1

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.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.