Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- The result type returned by this Future's get methodpublic interface RunnableFuture<V> extends Runnable, Future<V>
A Future
that is Runnable
. Successful execution of
the run method causes completion of the Future
and allows access to its results.
FutureTask
,
Executor
Modifier and Type | Method and Description |
---|---|
void |
run()
Sets this Future to the result of its computation unless it has been cancelled. |
Methods inherited from interface java.util.concurrent.Future |
---|
cancel, get, get, isCancelled, isDone |
Method Detail |
---|
void run()
run
in interface Runnable
Thread.run()
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.