Provides for composing functional lambda instances to improve run-time efficiency and flexibility. The composition avoids excessive call stacking when processing multiple Predicate or Consumer instances, and can avoid the processing overhead of Collection.stream().filter().forEach() by replacing with Collection.forEach() using a composed Consumer from a Predicate and Consumer.
Includes utility methods for composing an Iterable or array of Predicate instances into a single Predicate instance for testing for all, any, or none of the Predicate results.
Includes utility methods for composing an Iterable or array of Consumer instances into a single Consumer instance.
Includes utility methods for composing an Iterable or array of Predicate instances with an Iterable or array of Consumer instances into a single Consumer that tests for all, any, or none of the Predicate results.
Includes a utility method for using streams to split a Collection according to comparators.
JavaLambdaCompose
Utility methods for composing functional lambda expressions
Brought to you by:
xtarka
Downloads:
1 This Week