T - the type of the first argument to the functionU - the type of the second argument to the functionR - the type of the result of the functionX - the type of the exception that might be thrown@FunctionalInterface public interface ThrowingBiFunction<T,U,R,X extends Exception>
Function.| Modifier and Type | Method and Description |
|---|---|
default <V> ThrowingBiFunction<T,U,V,X> |
andThen(ThrowingFunction<? super R,? extends V,? extends X> after)
Returns a composed function that first applies this function to its input, and then applies the
after
function to the result. |
R |
apply(T t,
U u)
Applies this function to the given arguments.
|
default ThrowingFunction<U,R,X> |
curryFirst(T t)
Get a
ThrowingFunction by currying the first parameter. |
default ThrowingFunction<T,R,X> |
currySecond(U u)
Get a
ThrowingFunction by currying the second parameter. |
default <V> ThrowingBiFunction<T,U,V,X> andThen(ThrowingFunction<? super R,? extends V,? extends X> after)
after
function to the result. If evaluation of either function throws an exception, it is relayed to the caller of the
composed function.V - the type of output of the after function, and of the composed functionafter - the function to apply after this function is appliedafter functionNullPointerException - if after is nulldefault ThrowingFunction<U,R,X> curryFirst(T t)
ThrowingFunction by currying the first parameter.t - the constant parameterdefault ThrowingFunction<T,R,X> currySecond(U u)
ThrowingFunction by currying the second parameter.u - the constant parameterCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.