Module com.aoapps.lang
Package com.aoapps.lang.io.function
Interface IOConsumerE<T,Ex extends Throwable>
-
- Type Parameters:
Ex- An arbitrary exception type that may be thrown
- All Known Subinterfaces:
IOConsumer<T>
- 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 IOConsumerE<T,Ex extends Throwable>
A consumer that is allowed to throwIOExceptionand 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 IOConsumerE<T,Ex>andThen(IOConsumerE<? super T,? extends Ex> after)
-
-
-
Method Detail
-
accept
void accept(T t) throws IOException, Ex extends Throwable
- Throws:
IOExceptionEx extends Throwable
-
andThen
default IOConsumerE<T,Ex> andThen(IOConsumerE<? super T,? extends Ex> after) throws IOException, Ex extends Throwable
- Throws:
IOExceptionEx extends Throwable
-
-