Package org.wildfly.common.function
Interface ExceptionObjIntConsumer<T,E extends Exception>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A two-argument object and integer consumer which can throw an exception.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptionvoidPerforms this operation on the given arguments.default ExceptionObjIntConsumer<T,E> andThen(ExceptionObjIntConsumer<? super T, ? extends E> after) default ExceptionObjIntConsumer<T,E> andThen(ExceptionObjLongConsumer<? super T, ? extends E> after) default ExceptionObjIntConsumer<T,E> compose(ExceptionObjIntConsumer<? super T, ? extends E> before) default ExceptionObjIntConsumer<T,E> compose(ExceptionObjLongConsumer<? super T, ? extends E> before)
-
Method Details
-
accept
Performs this operation on the given arguments.- Parameters:
t- the first argumentvalue- the second argument- Throws:
E- if an exception occurs
-
andThen
-
compose
-
andThen
-
compose
default ExceptionObjIntConsumer<T,E> compose(ExceptionObjLongConsumer<? super T, ? extends E> before)
-