Lines Matching defs:map

58      * maximum number of elements that can be put in this map before having to
81 * map.
251 * this map.
288 * Creates an IdentityHashMap using the given map as initial values.
290 * @param map
291 * A map of (key,value) pairs to copy into the IdentityHashMap.
293 public IdentityHashMap(Map<? extends K, ? extends V> map) {
294 this(map.size() < 6 ? 11 : map.size() * 2);
295 putAllImpl(map);
304 * Removes all elements from this map, leaving it empty.
319 * Returns whether this map contains the specified key.
323 * @return {@code true} if this map contains the specified key,
337 * Returns whether this map contains the specified value.
341 * @return {@code true} if this map contains the specified value,
483 * Copies all the mappings in the specified map to this map. These mappings
484 * will replace all mappings that this map had for any of the keys currently
485 * in the given map.
487 * @param map
488 * the map to copy mappings from.
490 * if {@code map} is {@code null}.
493 public void putAll(Map<? extends K, ? extends V> map) {
494 putAllImpl(map);
521 * Removes the mapping with the specified key from this map.
581 * Returns a set containing all of the mappings in this map. Each mapping is
582 * an instance of {@link Map.Entry}. As the set is backed by this map,
593 * Returns a set of the keys contained in this map. The set is backed by
594 * this map so changes to one are reflected by the other. The set does not
642 * Returns a collection of the values contained in this map. The collection
643 * is backed by this map so changes to one are reflected by the other. The
649 * "wrapper object" over the iterator of map's entrySet(). The {@code size}
650 * method wraps the map's size method and the {@code contains} method wraps
651 * the map's containsValue method.
658 * @return a collection of the values contained in this map.
706 * Compares this map with other objects. This map is equal to another map is
707 * it represents the same set of mappings. With this map, two mappings are
709 * compared with a map that is not an IdentityHashMap, the equals method is
732 Map<?, ?> map = (Map) object;
733 if (size() != map.size()) {
739 return set.equals(map.entrySet());
812 private void putAllImpl(Map<? extends K, ? extends V> map) {
813 if (map.entrySet() != null) {
814 super.putAll(map);