code: public static void removeValue(Map map, Object value) {
  	Iterator it = map.entrySet().iterator();
  	Map.Entry entry;
  	while (it.hasNext()) {
  	    entry = (Entry) it.next();
  	    if (entry.getValue() == value) it.remove();
  	}
      }
docs: remove every entry hat has this value
  
  @param map
  @param obj