MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / putAll

Method putAll

java/src/org/openqa/selenium/internal/Multimap.java:54–57  ·  view source on GitHub ↗

Add given values for the given key. If this map already contains some of the values, they will be ignored. If values contains duplicates, only the first of them will be added.

(K key, Collection<V> values)

Source from the content-addressed store, hash-verified

52 * <p>If {@code values} contains duplicates, only the first of them will be added.
53 */
54 public Multimap<K, V> putAll(K key, Collection<V> values) {
55 map.computeIfAbsent(key, __ -> new LinkedHashSet<>()).addAll(values);
56 return this;
57 }
58
59 public boolean isEmpty() {
60 return map.isEmpty();

Callers 15

addAllMethod · 0.95
discoverDriversMethod · 0.95
validateMethod · 0.80
getW3CMethod · 0.80
decodeMethod · 0.80
captureScreenshotMethod · 0.80
mirrorMethod · 0.80
addToMethod · 0.80
buildJobSpecMethod · 0.80
appendPrefsMethod · 0.80

Calls 1

addAllMethod · 0.80

Tested by 1

addAllMethod · 0.76