Interface ProducingRunnable<T,E extends Exception>
-
- Type Parameters:
T
- The type of the return value of the called method.E
- The type of the exception the called method may throw.
- All Superinterfaces:
Callable<T>
public interface ProducingRunnable<T,E extends Exception> extends Callable<T>
A runnable producing an object of typeT
and throwing an exception of typeE
. This allows for combining runnables.- Author:
- Ulrich Kreher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
call()
-