Package org.wildfly.common.function
Interface ExceptionObjLongConsumer<T,E extends java.lang.Exception>
-
- 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 ExceptionObjLongConsumer<T,E extends java.lang.Exception>
A two-argument object and long integer consumer which can throw an exception.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
accept(T t, long value)
Performs this operation on the given arguments.default ExceptionObjLongConsumer<T,E>
andThen(ExceptionObjLongConsumer<? super T,? extends E> after)
default ExceptionObjLongConsumer<T,E>
compose(ExceptionObjLongConsumer<? super T,? extends E> before)
-
-
-
Method Detail
-
accept
void accept(T t, long value) throws E extends java.lang.Exception
Performs this operation on the given arguments.
-
andThen
default ExceptionObjLongConsumer<T,E> andThen(ExceptionObjLongConsumer<? super T,? extends E> after)
-
compose
default ExceptionObjLongConsumer<T,E> compose(ExceptionObjLongConsumer<? super T,? extends E> before)
-
-