java - LinkedHashMap<String,Object>.clone(); -
does above command produce deep copy of linkedhashmap's elements?
in java, clone() shallow. 2 reasons:
- performance
 - not every object defines working 
clone()method, deep copying isn't possible. 
does above command produce deep copy of linkedhashmap's elements?
in java, clone() shallow. 2 reasons:
clone() method, deep copying isn't possible.
Comments
Post a Comment