|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface describing any class that can generate
new Thread objects. Using ThreadFactories removes
hardwiring of calls to new Thread
, enabling
applications to use special thread subclasses, default
prioritization settings, etc.
Method Summary | |
java.lang.Thread |
newThread(java.lang.Runnable command)
Create a new thread that will run the given command when started |
Method Detail |
public java.lang.Thread newThread(java.lang.Runnable command)
command
- The implementation of Runnable that you want to make
a new thread out of
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |