clonar map java diferent key code example
Example: hashmap clone
HashMap shallowCopy = // shallow copy implementation
assertThat(shallowCopy).isNotSameAs(map);
HashMap shallowCopy = // shallow copy implementation
assertThat(shallowCopy).isNotSameAs(map);