5 ms·
The standard way to do it is to mutate clones as always in Java. Typically by use of libraries that provide this. You really need very bad code to have to think
by AtNightWeCode 5y ago
The standard way to do it is to mutate clones as always in Java. Typically by use of libraries that provide this. You really need very bad code to have to think about if objects are mutable.
- slver 5y agoApparently you don’t know most immutable structures are optimized for modified cloning in ways mutables aren’t.
- AtNightWeCode 5y agoThis is Java.
- slver 5y agoAnd?