Uses of Class java.lang.Thread

Uses in package java.lang

Methods with parameter type java.lang.Thread

void
Register a new shutdown hook.
void
Check if the current thread is allowed to modify another Thread.
int
Copy every active thread in the current Thread's ThreadGroup into the array.
int
Copy all of the active Threads from this ThreadGroup and its descendants into the specified array.
int
ThreadGroup.enumerate(Thread[] array, boolean recurse)
Copy all of the active Threads from this ThreadGroup and, if desired, from its descendants, into the specified array.
boolean
De-register a shutdown hook.
void
Invoked by the virtual machine with the dying thread and the uncaught exception.
void
When a Thread in this ThreadGroup does not catch an exception, the virtual machine calls this method.

Methods with return type java.lang.Thread

Thread
Get the currently executing Thread.

Uses in package javax.swing.text

Methods with return type java.lang.Thread

Thread
Returns the thread that currently modifies this Document if there is one, otherwise null.