java.util.WeakHashMap.putAllImpl()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(5.1k)|赞(0)|评价(0)|浏览(90)

本文整理了Java中java.util.WeakHashMap.putAllImpl()方法的一些代码示例,展示了WeakHashMap.putAllImpl()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WeakHashMap.putAllImpl()方法的具体详情如下:
包路径:java.util.WeakHashMap
类名称:WeakHashMap
方法名:putAllImpl

WeakHashMap.putAllImpl介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

/**
 * 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);
}

代码示例来源:origin: robovm/robovm

/**
 * 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);
}

代码示例来源:origin: MobiVM/robovm

/**
 * 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);
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * 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);
}

代码示例来源:origin: ibinti/bugvm

/**
 * 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);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * 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);
}

代码示例来源:origin: com.jtransc/jtransc-rt

/**
 * 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);
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * 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);
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * 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);
}

代码示例来源:origin: ibinti/bugvm

/**
 * 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);
}

代码示例来源:origin: MobiVM/robovm

/**
 * 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);
}

代码示例来源:origin: com.jtransc/jtransc-rt

/**
 * 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);
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * 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);
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * 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);
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * 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);
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * 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);
}

相关文章