Uses of Enum Class
org.microbean.invoke.OptionalSupplier.Determinism
-
Uses of OptionalSupplier.Determinism in org.microbean.invoke
Modifier and TypeMethodDescriptionAbsence.determinism()
ReturnsABSENT
when invoked.CachingSupplier.determinism()
Returns anOptionalSupplier.Determinism
suitable for thisCachingSupplier
.FixedValueSupplier.determinism()
ReturnsPRESENT
when invoked.default OptionalSupplier.Determinism
OptionalSupplier.determinism()
Returns anOptionalSupplier.Determinism
denoting the presence of values returned by thisOptionalSupplier
'sget()
method.static OptionalSupplier.Determinism
Returns the enum constant of this class with the specified name.static OptionalSupplier.Determinism[]
OptionalSupplier.Determinism.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic <T> OptionalSupplier<T>
OptionalSupplier.of
(OptionalSupplier.Determinism determinism, Supplier<? extends T> supplier) Returns a newOptionalSupplier
whoseOptionalSupplier.determinism()
method will return the suppliedOptionalSupplier.Determinism
and whoseOptionalSupplier.get()
method will return the result of invoking theSupplier.get()
method on the suppliedsupplier
.