| Package | Description |
|---|---|
| java.lang | |
| java.util | |
| java.util.concurrent |
| Modifier and Type | Class and Description |
|---|---|
class |
Thread
A thread is a thread of execution in a program.
|
| Constructor and Description |
|---|
Thread(Runnable target)
Allocates a new
Thread object. |
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
| Modifier and Type | Class and Description |
|---|---|
class |
TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Executor.execute(Runnable command)
Executes the given command at some time in the future.
|
Copyright © 2025 API Design. All Rights Reserved.