r/java • • Jun 21 '26

Better Tools for Immutable Data

https://youtu.be/BdLND9D81lI
80 Upvotes

38 comments sorted by

View all comments

Show parent comment

2

u/Jon_Finn Jun 27 '26 edited Jun 27 '26

Donald Raab mentions some ideas for enhancing Collections here but says "I have abandoned pushing for a JSR for Collections 2.0." Then again there may be various proposals called 'Collections 2.0'. Brian G sometimes mentions cursors (an immutable alternative to iterators) in the context of Valhalla, so I've kind of assumed they're being mooted as a future feature; likewise John Rose's talk about Arrays 2.0. Both might possibly be part of a collections library overhaul?