本文整理了Java中java.util.AbstractMap.putAll()
方法的一些代码示例,展示了AbstractMap.putAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractMap.putAll()
方法的具体详情如下:
包路径:java.util.AbstractMap
类名称:AbstractMap
方法名:putAll
[英]This implementation iterates through map's entry set, calling put() for each.
[中]此实现迭代映射的条目集,为每个条目集调用put()。
代码示例来源:origin: robovm/robovm
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: robovm/robovm
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: robovm/robovm
/**
* Copies all the mappings in the specified 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.
*/
@Override public void putAll(Map<? extends K, ? extends V> map) {
ensureCapacity(map.size());
super.putAll(map);
}
代码示例来源:origin: geotools/geotools
/**
* Copies all of the mappings from the specified map to this map.
*
* @param map Mappings to be stored in this map.
*/
@Override
public void putAll(final Map<? extends K, ? extends V> map) {
super.putAll(map);
}
代码示例来源:origin: org.geotools/gt-metadata
/**
* Copies all of the mappings from the specified map to this map.
*
* @param map Mappings to be stored in this map.
*/
@Override
public void putAll(final Map<? extends K, ? extends V> map) {
synchronized (hash) {
super.putAll(map);
}
}
代码示例来源:origin: MobiVM/robovm
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: MobiVM/robovm
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: ibinti/bugvm
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: com.bugvm/bugvm-rt
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: ibinti/bugvm
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: com.gluonhq/robovm-rt
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: com.bugvm/bugvm-rt
private void putAllImpl(Map<? extends K, ? extends V> map) {
if (map.entrySet() != null) {
super.putAll(map);
}
}
}
代码示例来源:origin: MobiVM/robovm
/**
* Copies all the mappings in the specified 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.
*/
@Override public void putAll(Map<? extends K, ? extends V> map) {
ensureCapacity(map.size());
super.putAll(map);
}
代码示例来源:origin: ibinti/bugvm
/**
* Copies all the mappings in the specified 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.
*/
@Override public void putAll(Map<? extends K, ? extends V> map) {
ensureCapacity(map.size());
super.putAll(map);
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Copies all the mappings in the specified 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.
*/
@Override public void putAll(Map<? extends K, ? extends V> map) {
ensureCapacity(map.size());
super.putAll(map);
}
代码示例来源:origin: org.onehippo.cms7/hippo-cms-api
/**
* @see java.util.Map#putAll(java.util.Map)
*/
@Override
public void putAll(Map<? extends String, ? extends Object> map) {
checkMutability();
super.putAll(map);
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Copies all the mappings in the specified 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.
*/
@Override public void putAll(Map<? extends K, ? extends V> map) {
ensureCapacity(map.size());
super.putAll(map);
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Copies all the mappings in the specified 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.
*/
@Override public void putAll(Map<? extends K, ? extends V> map) {
ensureCapacity(map.size());
super.putAll(map);
}
内容来源于网络,如有侵权,请联系作者删除!