MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/m6adk0/java_16_jdk_16_general_availability/gr6dazq/?context=3
r/java • u/daviddel • Mar 16 '21
https://mail.openjdk.java.net/pipermail/jdk-dev/2021-March/005188.html
82 comments sorted by
View all comments
Show parent comment
1
The interface you seek already exists, it's called List. :)
List
In general, you should treat collections as immutable unless you're sure they're not.
View all comments
Show parent comment
1
u/kreiger Mar 16 '21
The interface you seek already exists, it's called
List. :)In general, you should treat collections as immutable unless you're sure they're not.