Uses of Interface
org.springframework.util.function.ThrowingBiFunction
Package
Description
AOT support for bean factories.
Classes supporting the
org.springframework.beans.factory
package.Useful generic
java.util.function
helper classes.-
Uses of ThrowingBiFunction in org.springframework.beans.factory.aot
Modifier and TypeMethodDescriptionBeanInstanceSupplier.withGenerator
(ThrowingBiFunction<RegisteredBean, AutowiredArguments, T> generator) Return a newBeanInstanceSupplier
instance that uses the specifiedgenerator
bi-function to instantiate the underlying bean. -
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 applies 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 create aThrowingBiFunction
where theapply(Object, Object)
method wraps any checked exception thrown by the supplied lambda expression or method reference.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 create aThrowingBiFunction
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 create aThrowingBiFunction
where theapply(Object, Object)
method wraps any checked exception thrown by the supplied lambda expression or method reference.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 create aThrowingBiFunction
where theapply(Object, Object)
method wraps any thrown checked exceptions using the givenexceptionWrapper
.