stream.peek

Stream.peek: The `peek` method in the Stream API allows developers to perform an action for each element in a stream without altering the elements. It is commonly used for debugging or performing side effects like logging while processing a stream.

https://en.wikipedia.org/wiki/Java_version_history#JDK_8

stream.peek.txt · Last modified: 2025/02/01 06:26 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki