public abstract class AbstractRunnableWithResult<T> extends AbstractRunnableWithException implements IRunnableWithResult<T>
Provides a basic implementation of IRunnableWithResult.
The concrete implementations have to set the result
via setResult(Object) in Runnable.run().
IRunnableWithResult| Constructor and Description |
|---|
AbstractRunnableWithResult() |
| Modifier and Type | Method and Description |
|---|---|
T |
getResult()
Returns the result.
|
protected void |
setResult(T result)
Sets the result.
|
getException, setExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetException