Uses of Interface
org.springframework.util.function.ThrowingBiFunction
Package
Description
Classes supporting the
org.springframework.beans.factory
package.Useful generic
java.util.function
helper classes.-
Uses of ThrowingBiFunction in org.springframework.beans.factory.support
Modifier and TypeMethodDescriptiondefault <V> InstanceSupplier<V>
InstanceSupplier.andThen
(ThrowingBiFunction<RegisteredBean, ? super T, ? extends V> after) Return a composed instance supplier that first obtains the instance from this supplier, and then applied theafter
function to obtain the result. -
Uses of ThrowingBiFunction in org.springframework.util.function
Modifier and TypeMethodDescriptionstatic <T,
U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of
(ThrowingBiFunction<T, U, R> function) Lambda friendly convenience method that can be used to createThrowingBiFunction
where theapply(Object, Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.static <T,
U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of
(ThrowingBiFunction<T, U, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingBiFunction
where theapply(Object, Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.default ThrowingBiFunction<T,
U, R> ThrowingBiFunction.throwing
(BiFunction<String, Exception, RuntimeException> exceptionWrapper) Return a newThrowingBiFunction
where theapply(Object, Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.Modifier and TypeMethodDescriptionstatic <T,
U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of
(ThrowingBiFunction<T, U, R> function) Lambda friendly convenience method that can be used to createThrowingBiFunction
where theapply(Object, Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.static <T,
U, R> ThrowingBiFunction<T, U, R> ThrowingBiFunction.of
(ThrowingBiFunction<T, U, R> function, BiFunction<String, Exception, RuntimeException> exceptionWrapper) Lambda friendly convenience method that can be used to createThrowingBiFunction
where theapply(Object, Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.