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 type T and throwing an exception of type E. This allows for combining runnables.
    Author:
    Ulrich Kreher