T - The type of the result.public class RunnableCallable<T> extends AbstractRunnable
A Runnable wrapper for a Callable. The result of the Callable can
be obtained using the getResult() method.
NOTE: This class is designed to be used for a single invocation only.
| Constructor and Description |
|---|
RunnableCallable(Callable<T> callable) |
| Modifier and Type | Method and Description |
|---|---|
void |
doRun() |
T |
getResult()
Get the result value returned by the callable.
|
static <V> V |
invokeAndWait(Callable<V> callable) |
getActiveWindow, isShowWaitCursor, run, setShowWaitCursorpublic static <V> V invokeAndWait(Callable<V> callable)
public void doRun()
doRun in class AbstractRunnablepublic T getResult()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.