For anyone else reading - you don't need to make a copy if you know your data isn't going to change under your feet.
https://dev.to/kylec32/effective-java-make-defensive-copies-...
reply
For anyone else reading - you don't need to make a copy if you know your data isn't going to change under your feet.
https://dev.to/kylec32/effective-java-make-defensive-copies-...