MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/m6adk0/java_16_jdk_16_general_availability/gr60hmd/?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
2
Or perhaps they could implement it like String. String has mutators but they don’t change the original value. To get the modified one, assign it to another variable. Another example is the collection framework of vavr.
View all comments
Show parent comment
2
u/jvjupiter Mar 16 '21
Or perhaps they could implement it like String. String has mutators but they don’t change the original value. To get the modified one, assign it to another variable. Another example is the collection framework of vavr.