public interface IRunnableWithResult<T> extends IRunnableWithException
A Runnable
that has a result that is accessible via getResult()
.
Concrete implementations should be subclasses of AbstractRunnableWithResult
.
AbstractRunnableWithResult
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Returns an occurred exception.
|
T |
getResult()
Returns the result.
|
T getResult()
java.lang.Exception getException()
getException
in interface IRunnableWithException