Sprawdź, czy wpis w Hashmap jest usuwany w Javie
Object removedObject = myMap.remove(1);
boolean wasRemoved = removedObject != null;
Shubhangi_Mishra
Object removedObject = myMap.remove(1);
boolean wasRemoved = removedObject != null;