|
Foundation 1.1.2 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Runnable | |
| java.lang | Provides classes that are fundamental to the design of the Java programming language. |
| java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
| Uses of Runnable in java.lang |
| Classes in java.lang that implement Runnable | |
class |
Thread
A thread is a thread of execution in a program. |
| Constructors in java.lang with parameters of type Runnable | |
Thread(Runnable target)
Allocates a new Thread object. |
|
Thread(ThreadGroup group,
Runnable target)
Allocates a new Thread object. |
|
Thread(Runnable target,
String name)
Allocates a new Thread object. |
|
Thread(ThreadGroup group,
Runnable target,
String name)
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 group,
Runnable target,
String name,
long stackSize)
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, and has the specified stack size. |
|
| Uses of Runnable in java.util |
| Classes in java.util that implement Runnable | |
class |
TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer. |
|
Foundation 1.1.2 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||