Interface CheckedRunnable<E extends Exception>

  • Type Parameters:
    E - the type of the Exception to the operation
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface CheckedRunnable<E extends Exception>
    Functional interface similar to Runnable (but not technically extending Runnable, because it cannot; and doesn't have to) which can throw a generically parameterized type of checked exception.
    Author:
    Michael Vorburger.ch