Suppliers<T> extension

Contains functions for composing Suppliers and other operations.

on

Methods

map<R>(Mapper<T, R> next) Supplier<R>
Returns a composed Supplier that calls this Supplier and applies the result to next.
pipe(Consumer<T> consumer) Call
Returns a composed Call that calls this Supplier and applies the result to consumer.
test(Predicate<T> predicate) Supplier<bool>
Returns a composed Supplier that calls this Supplier and applies the result to predicate.