Using Hashset instantiated with another Hashset affecting both Hashsets code example
Example: place values in a hashset
Set<String> set = new HashSet<>(Arrays.asList("a", "b", "c"));
Set<String> set = new HashSet<>(Arrays.asList("a", "b", "c"));