Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

check whether an entry in hashmap is deleted in java

Object removedObject = myMap.remove(1);
boolean wasRemoved = removedObject != null;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #entry #hashmap #deleted #java
ADD COMMENT
Topic
Name
1+4 =