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

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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