Interface ConsumerRaisingIOE<T>
- Type Parameters:
T- type of argument,.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Version of java.util.function.Consumer which raises
exceptions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidProcess the argument.default ConsumerRaisingIOE<T>andThen(ConsumerRaisingIOE<? super T> next) after callingaccept(Object), invoke the next consumer in the chain.
-
Method Details
-
accept
Process the argument.- Parameters:
t- type- Throws:
IOException- if needed
-
andThen
after callingaccept(Object), invoke the next consumer in the chain.- Parameters:
next- next consumer- Returns:
- the chain.
-