Class SimpleRunnableFuture<V>
java.lang.Object
VASSAL.tools.concurrent.SimpleFuture<V>
VASSAL.tools.concurrent.SimpleRunnableFuture<V>
- All Implemented Interfaces:
Runnable, Future<V>, RunnableFuture<V>, SettableFuture<V>, SettableRunnableFuture<V>
- Direct Known Subclasses:
EDTRunnableFuture
public abstract class SimpleRunnableFuture<V>
extends SimpleFuture<V>
implements SettableRunnableFuture<V>
A
SimpleFuture that is a SettableRunnableFuture.-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SimpleFuture
cancel, get, get, isCancelled, isDone, set, setExceptionModifier and TypeMethodDescriptionbooleancancel(boolean mayInterruptIfRunning) get()booleanbooleanisDone()voidSets the result to be returned byFuture.get().voidSets the exception to be wrapped in anExecutionExceptionand thrown byFuture.get().Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, stateMethods inherited from interface RunnableFuture
run
-
Constructor Details
-
SimpleRunnableFuture
public SimpleRunnableFuture()
-