Module com.aoapps.lang
Package com.aoapps.lang.function
Interface ConsumerE<T,Ex extends Throwable>
-
- Type Parameters:
Ex- An arbitrary exception type that may be thrown
- 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 ConsumerE<T,Ex extends Throwable>
A consumer that is allowed to throw a checked exception.- See Also:
Consumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(T t)default ConsumerE<T,Ex>andThen(ConsumerE<? super T,? extends Ex> after)
-