Why doesn’t my Java Stream do anything?
Why doesn’t my Java Stream do anything?
medium.com
Why doesn’t my Java Stream do anything?
Chances are you forgot to kick it.
The linked article is written by me. It explains how Java streams need a terminating operation in order to start any actions. For more explanations and code examples, do follow the link and read the article. It's free.