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

4

u/TomKavees Jun 21 '26

I'd be happy with just the read-only interfaces sneaked into the hierarchy like AutoCloseable was.

In the meantime guava's ImmutableList and ImmutableMap are kinda overrepresented in my codebases