Suggestions for Streaming Stable Values in JEP 502?

0
1
Asked By TechWanderer42 On

I'm diving into the JEP 502 specifications on Stable Values and noticed there's no built-in way to stream the content of a `StableValue`. I think adding methods like `stream()` and `setThenStream(Supplier)` would be a great enhancement, ensuring that the supplier is only called when necessary during terminal operations on the resulting `Stream`. What's your take on this?

1 Answer

Answered By JavaDevGuru On

You might want to bring this up on the mailing list to get the attention of the core libraries team. They can provide more insight on whether it's a feasible addition.

TechWanderer42 -

Thanks! I’ll definitely reach out to them.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.