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
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.
Thanks! I’ll definitely reach out to them.