- Thread - Class in java.lang
-
A thread is a thread of execution in a program.
- Thread.State - Enum in java.lang
-
A thread state.
- Thread.UncaughtExceptionHandler - Interface in java.lang
-
Interface for handlers invoked when a Thread
abruptly
terminates due to an uncaught exception.
- Thread() - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(Runnable) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(Runnable, String) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(String) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(ThreadGroup, Runnable) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- Thread(ThreadGroup, Runnable, String) - Constructor for class java.lang.Thread
-
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
.
- Thread(ThreadGroup, Runnable, String, long) - Constructor for class java.lang.Thread
-
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
, and has
the specified stack size.
- Thread(ThreadGroup, Runnable, String, long, boolean) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object so that it has target
as its run object, has the specified name
as its name,
belongs to the thread group referred to by group
, has
the specified stackSize
, and inherits initial values for
inheritable thread-local variables
if inheritThreadLocals
is true
.
- Thread(ThreadGroup, String) - Constructor for class java.lang.Thread
-
Allocates a new Thread
object.
- toString() - Method in class java.lang.Thread
-
Returns a string representation of this thread, including the
thread's name, priority, and thread group.