Package org.springframework.util.function
@NullMarked
package org.springframework.util.function
Useful generic
java.util.function
helper classes.-
ClassDescriptionA
Supplier
decorator that caches a singleton result and makes it available fromSingletonSupplier.get()
(nullable) andSingletonSupplier.obtain()
(null-safe).Convenience utilities forSupplier
handling.ThrowingBiFunction<T,U, R> ABiFunction
that allows invocation of code that throws a checked exception.AConsumer
that allows invocation of code that throws a checked exception.ThrowingFunction<T,R> AFunction
that allows invocation of code that throws a checked exception.ASupplier
that allows invocation of code that throws a checked exception.