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.

Project Activity

See All Activity >

Categories

Libraries

License

BSD License

Follow JavaLambdaCompose

JavaLambdaCompose Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JavaLambdaCompose!

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Libraries

Registered

2014-06-10