Uses of Interface
org.apache.juneau.commons.function.NullableSupplier
Packages that use NullableSupplier
Package
Description
Functional programming utilities including enhanced function interfaces, consumers, suppliers,
tuples, exception-handling variants, and large-dataset streaming APIs.
Thread-safe system property access with support for global and per-thread overrides,
making it useful for unit tests and configuration management.
-
Uses of NullableSupplier in org.apache.juneau.commons.function
Classes in org.apache.juneau.commons.function that implement NullableSupplierModifier and TypeClassDescriptionclassMemoizer<T>A thread-safe supplier that caches the result of the first call and supports resetting the cache.Methods in org.apache.juneau.commons.function that return NullableSupplierModifier and TypeMethodDescriptionstatic <T> NullableSupplier<T>NullableSupplier.empty()Creates an empty NullableSupplier that always returnsnull .default NullableSupplier<T>If a value is present, and the value matches the given predicate, returns a NullableSupplier describing the value, otherwise returns an empty NullableSupplier.default <U> NullableSupplier<U>NullableSupplier.flatMap(Function<? super T, ? extends NullableSupplier<? extends U>> mapper) If a value is present, returns the result of applying the given NullableSupplier-bearing mapping function to the value, otherwise returns an empty NullableSupplier.default <U> NullableSupplier<U>If a value is present, applies the provided mapping function to it and returns a NullableSupplier describing the result.static <T> NullableSupplier<T>Thread-safe memoizing supplier (computes once, caches).static <T> NullableSupplier<T>Creates a NullableSupplier from a Supplier.static <T> NullableSupplier<T>NullableSupplier.ofNullable(T value) Creates a NullableSupplier that always returns the specified value.Method parameters in org.apache.juneau.commons.function with type arguments of type NullableSupplierModifier and TypeMethodDescriptiondefault <U> NullableSupplier<U>NullableSupplier.flatMap(Function<? super T, ? extends NullableSupplier<? extends U>> mapper) If a value is present, returns the result of applying the given NullableSupplier-bearing mapping function to the value, otherwise returns an empty NullableSupplier. -
Uses of NullableSupplier in org.apache.juneau.commons.settings
Classes in org.apache.juneau.commons.settings that implement NullableSupplierModifier and TypeClassDescriptionclassSetting<T>A memoizer that provides convenience methods for type conversion.classA specializedSettingfor string values that provides convenience methods for type conversion.Methods in org.apache.juneau.commons.settings with parameters of type NullableSupplierModifier and TypeMethodDescriptionSettings.Builder.globalStore(NullableSupplier<PropertyStore> supplier) Sets the supplier for the global store.Settings.Builder.localStore(NullableSupplier<PropertyStore> supplier) Sets the supplier for the local (per-thread) store.