/** Adds a key-value mapping to the built multimap. */ @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { checkEntryNotNull(key, value); Collection<V> valueCollection = builderMap.get(key); if (valueCollection == null) { builderMap.put(key, valueCollection = newMutableValueCollection()); } valueCollection.add(value); return this; }
return this; valueCollection = newMutableValueCollection(); while (valuesItr.hasNext()) { V value = valuesItr.next();
/** Adds a key-value mapping to the built multimap. */ @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { checkEntryNotNull(key, value); Collection<V> valueCollection = builderMap.get(key); if (valueCollection == null) { builderMap.put(key, valueCollection = newMutableValueCollection()); } valueCollection.add(value); return this; }
return this; valueCollection = newMutableValueCollection(); while (valuesItr.hasNext()) { V value = valuesItr.next();
return this; valueCollection = newMutableValueCollection(); while (valuesItr.hasNext()) { V value = valuesItr.next();
/** Adds a key-value mapping to the built multimap. */ @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { checkEntryNotNull(key, value); Collection<V> valueCollection = builderMap.get(key); if (valueCollection == null) { builderMap.put(key, valueCollection = newMutableValueCollection()); } valueCollection.add(value); return this; }
/** Adds a key-value mapping to the built multimap. */ @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { checkEntryNotNull(key, value); Collection<V> valueCollection = builderMap.get(key); if (valueCollection == null) { builderMap.put(key, valueCollection = newMutableValueCollection()); } valueCollection.add(value); return this; }
return this; valueCollection = newMutableValueCollection(); while (valuesItr.hasNext()) { V value = valuesItr.next();
return this; valueCollection = newMutableValueCollection(); while (valuesItr.hasNext()) { V value = valuesItr.next();
/** Adds a key-value mapping to the built multimap. */ @CanIgnoreReturnValue public Builder<K, V> put(K key, V value) { checkEntryNotNull(key, value); Collection<V> valueCollection = builderMap.get(key); if (valueCollection == null) { builderMap.put(key, valueCollection = newMutableValueCollection()); } valueCollection.add(value); return this; }