shallow copy - new instance Or assignment
In Java, what is a shallow copy?
Object Clone Shallow copy doesn't change variable Java Cloning - deep copy and shallow copy Shallow copy Integer in Java Java: Vector add function is it shallow? ArrayList shallow copy iterate or clone() Shallow copy of an object in an intent in android Java shallow copy super class instance for sub class instance shallow copy of arraylist Array deep copy and shallow copy Java clone shallow-copy deep-copy copy-constructor nested object Java - Implement deep and shallow copy of an array Why does my Java deep copy code tell me "Assignment requires a deep, not shallow copy"? Does clone method on array a deep or a shallow copy? Is shallow copy really needed? Trying to get immutable collection view from a very simple map (shallow copy can be enough) How to copy HashMap (not shallow copy) in Java Using serializable yet still getting shallow copy of object Does anonymous class get shallow or deep copy of final variables in Java? Java clone() shallow copy Java shallow copy array How to explain shallow-copy in Java versus pass by value? Shallow Copy in Java Does Job(Configuration conf) perform shallow copy or deep copy? Does java.lang.System.arraycopy() use a shallow copy? shallow copy with generic type Is clone() in java shallow copy? Deep Copy and Shallow Copy Java Shallow copy of a Map in Java How to perform correctly a deep and a shallow copy in java