/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }
/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Copies all the mappings in the given map to this map. These mappings will * replace all mappings that this map had for any of the keys currently in * the given map. * * @param map * the map to copy mappings from. * @throws NullPointerException * if {@code map} is {@code null}. */ @Override public void putAll(Map<? extends K, ? extends V> map) { putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }
/** * Constructs a new {@code WeakHashMap} instance containing the mappings * from the specified map. * * @param map * the mappings to add. */ public WeakHashMap(Map<? extends K, ? extends V> map) { this(map.size() < 6 ? 11 : map.size() * 2); putAllImpl(map); }