1
submitted 1 year ago by aev@lemmy.sdf.org to c/java@programming.dev

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.

you are viewing a single comment's thread
view the rest of the comments
[-] aev@lemmy.sdf.org 2 points 1 year ago

Right! I had used streams a couple of times but for most work had switched to Eclipse Collections. Some payloads just work better when streamed and I was left wondering why nothing happened!

this post was submitted on 12 Jul 2023
1 points (60.0% liked)

Java

1327 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 1 year ago
MODERATORS