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 |
---|---|
Exception |
getException()
Returns an occurred exception.
|
T |
getResult()
Returns the result.
|
T getResult()
Exception getException()
getException
in interface IRunnableWithException