Interface CheckedConsumer2<T,U,E extends java.lang.Throwable>
-
- All Superinterfaces:
java.util.function.BiConsumer<T,U>
- 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 CheckedConsumer2<T,U,E extends java.lang.Throwable> extends java.util.function.BiConsumer<T,U>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(T t, U u)
default CheckedConsumer2<T,U,E>
andThen(java.util.function.BiConsumer<? super T,? super U> after)
void
checkedAccept(T t, U u)
static <T,U,E extends java.lang.Throwable>
CheckedConsumer2<T,U,E>of(CheckedConsumer2<T,U,E> biConsumer)
-
-
-
Method Detail
-
checkedAccept
void checkedAccept(T t, U u) throws E extends java.lang.Throwable
- Throws:
E extends java.lang.Throwable
-
andThen
default CheckedConsumer2<T,U,E> andThen(java.util.function.BiConsumer<? super T,? super U> after)
-
of
static <T,U,E extends java.lang.Throwable> CheckedConsumer2<T,U,E> of(CheckedConsumer2<T,U,E> biConsumer)
-
-