Java’s stream operations would become more flexible and expressive and allow custom intermediate operations to manipulate streams of infinite size to the extent possible, under a proposal in the OpenJDK community.
Authored this month and in a preview stage, the stream gatherers proposal would enhance Java’s Stream API to support custom intermediate operations. This would allow stream pipelines to transform data in ways not easily achievable with existing built-in intermediate operations. It is not the intent, though, to change the Java language to better facilitate stream processing or provide a special-case compilation of code that uses the Stream API.
To read this article in full, please click here
InfoWorld
Article Categories:
Uncategorized