@Override public boolean remove(Object o) { return IntHashMap.this.remove(o) != null; }
@Override public boolean remove(final Object o) { return IntHashMap.this.remove(o) != null; }
/** * Removes the mapping for this key from this map if present. * * @param key key whose mapping is to be removed from the map. * @return previous value associated with specified key, or <code>null</code> if * there was no mapping for key. A <code>null</code> return can also indicate * that the map previously associated <code>null</code> with the specified * key. */ @Override public Object remove(Object key) { if (key instanceof Number) { return remove(((Number) key).intValue()); } return null; }
/** * Removes the mapping for this key from this map if present. * * @param key key whose mapping is to be removed from the map. * @return previous value associated with specified key, or <code>null</code> if * there was no mapping for key. A <code>null</code> return can also indicate * that the map previously associated <code>null</code> with the specified * key. */ @Override public Object remove(final Object key) { if (key instanceof Number) { return remove(((Number) key).intValue()); } return null; }
ihm.remove(1);
@Override public boolean remove(final Object o) { return IntHashMap.this.remove(o) != null; }
@Override public boolean remove(Object o) { return IntHashMap.this.remove(o) != null; }
/** * Removes the mapping for this key from this map if present. * * @param key key whose mapping is to be removed from the map. * @return previous value associated with specified key, or <code>null</code> if * there was no mapping for key. A <code>null</code> return can also indicate * that the map previously associated <code>null</code> with the specified * key. */ @Override public Object remove(final Object key) { if (key instanceof Number) { return remove(((Number) key).intValue()); } return null; }
/** * Removes the mapping for this key from this map if present. * * @param key key whose mapping is to be removed from the map. * @return previous value associated with specified key, or <code>null</code> if * there was no mapping for key. A <code>null</code> return can also indicate * that the map previously associated <code>null</code> with the specified * key. */ @Override public Object remove(Object key) { if (key instanceof Number) { return remove(((Number) key).intValue()); } return null; }