- 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
- delayedConsume
Create a Runnable that calls consumer.accept(value) when run() is called. This
can be used to delay
- 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