public int remove(Object key){
  Entry e=removeEntryForKey(key);
  return (e == null ? 0 : e.value);
}

public int remove ( Object key ) { Entry e = removeEntryForKey ( key ) ; return ( e == null ? 0 : e . value ) ; }
removes the mapping for the specified key from this map if present .
