I just got bit by using .clone() on my 2d boolean array, thinking that this was a deep copy.
.clone()
boolean
How can I perform a deep copy of my bool
bool
Yes, that's the only way to do it. Neither java.util.Arrays not commons-lang offer deep copy for arrays.
java.util.Arrays