- unpartitioned
Returns a constant function that returns zero (0). This is identical to #zero()
but is more readable
- discard
A Consumer that discards all items passed to it.
- identity
Returns the identity function that returns its single argument.
- zero
Returns a constant function that returns zero (0).
- alwaysTrue
A Predicate that is always true
- synchronizedConsumer
Return a thread-safe version of a Consumer function. If the function is
guaranteed to be immutable (
- synchronizedFunction
Return a thread-safe version of a Function function. If the function is
guaranteed to be immutable (
- synchronizedSupplier
Return a thread-safe version of a Supplier function. If the function is
guaranteed to be immutable (
- alwaysFalse
A Predicate that is always false
- closeFunction
Close the function. If function is an instance of AutoCloseablethen close is
called, otherwise no ac
- isImmutable
See if the functional logic is immutable. Logic is stateful if: Has a non-final
instance field. Has
- isImmutableClass
See if a function class is immutable. Logic is stateful if: Has a non-final
instance field. Has a fi