creating a hashmap from another hashmap java 8 code example
Example: hashmap clone
HashMap shallowCopy = // shallow copy implementation
assertThat(shallowCopy).isNotSameAs(map);
HashMap shallowCopy = // shallow copy implementation
assertThat(shallowCopy).isNotSameAs(map);