@FunctionalInterface
public interface ExceptionBiFunction<T,U,R,E extends java.lang.Exception>
Modifier and Type | Method and Description |
---|---|
default ExceptionBiConsumer<T,U,E> |
andThen(ExceptionConsumer<R,? extends E> after) |
default <R2> ExceptionBiFunction<T,U,R2,E> |
andThen(ExceptionFunction<? super R,? extends R2,? extends E> after) |
R |
apply(T t,
U u)
Applies this function to the given arguments.
|
default ExceptionSupplier<R,E> |
compose(ExceptionSupplier<? extends T,? extends E> before1,
ExceptionSupplier<? extends U,? extends E> before2) |
R apply(T t, U u) throws E extends java.lang.Exception
t
- the first argumentu
- the second argumentE
- if an exception occursE extends java.lang.Exception
default <R2> ExceptionBiFunction<T,U,R2,E> andThen(ExceptionFunction<? super R,? extends R2,? extends E> after)
default ExceptionBiConsumer<T,U,E> andThen(ExceptionConsumer<R,? extends E> after)
default ExceptionSupplier<R,E> compose(ExceptionSupplier<? extends T,? extends E> before1, ExceptionSupplier<? extends U,? extends E> before2)
Copyright © 2015 JBoss, a division of Red Hat, Inc.