|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object EDU.oswego.cs.dl.util.concurrent.DirectExecutor
public class DirectExecutor
An implementation of Executor that invokes the run method of the supplied command and then returns.
[ Introduction to this package. ]
Constructor Summary | |
---|---|
DirectExecutor()
|
Method Summary | |
---|---|
void |
execute(java.lang.Runnable command)
Execute the given command directly in the current thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectExecutor()
Method Detail |
---|
public void execute(java.lang.Runnable command) throws java.lang.InterruptedException
execute
in interface Executor
java.lang.InterruptedException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |