Interface Commands<T,E extends Throwable>
-
- 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 Commands<T,E extends Throwable>
An adaptation ofConsumerwhich allows for exceptions to pass through- Author:
- Jakub Cechacek
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Commands<T,E>andThen(Commands<? super T,E> after)SeeConsumervoidexecute(T t)Performs this operation on the given argument.
-