Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (Integer i : hashMap.keySet()) {
- for (Integer j : keys) {
- //System.out.println(i + " and " + j);
- if (hashMap.get(i) != hashMap.get(j)) {
- hashMap.remove(j);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement