- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 620 for putAll (0.04 seconds)
-
android/guava/src/com/google/common/collect/AbstractMultimap.java
@CanIgnoreReturnValue @Override public boolean put(@ParametricNullness K key, @ParametricNullness V value) { return get(key).add(value); } @CanIgnoreReturnValue @Override public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) { checkNotNull(values); // make sure we only call values.iterator() once // and we only call get(key) if values is nonempty
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
// Test #putAll(K, Collection<V>) try { multimap.putAll(sampleKey, sampleValueAsCollection); fail("putAll(K, Iterable) succeeded on unmodifiable multimap"); } catch (UnsupportedOperationException expected) { } assertMultimapRemainsUnmodified(multimap, originalEntries); // Test #putAll(Multimap<K, V>)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
Properties merged = new Properties(); if (sourceDominant) { merged.putAll(target.getProperties()); putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY); } else { putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY); merged.putAll(target.getProperties()); } target.setProperties(merged);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingTable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
@Override public void putAll(RangeMap<K, ? extends V> rangeMap) { if (rangeMap.asMapOfRanges().isEmpty()) { return; } Range<K> span = rangeMap.span(); checkArgument( subRange.encloses(span), "Cannot putAll rangeMap with span %s into a subRangeMap(%s)", span, subRange); TreeRangeMap.this.putAll(rangeMap); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public @Nullable V put(K key, V value) { assertTrue(Thread.holdsLock(mutex)); return super.put(key, value); } @Override public void putAll(Map<? extends K, ? extends V> map) { assertTrue(Thread.holdsLock(mutex)); super.putAll(map); } @Override public Set<K> keySet() { assertTrue(Thread.holdsLock(mutex)); return super.keySet(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt
PropertiesUtils.store(properties, file, comment, Charsets.ISO_8859_1, "\n") } private fun propertiesFrom(data: Map<String, Any>): Properties = Properties().apply { putAll(data.map { (key, value) -> key to value.toString() }) } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
public @Nullable V put(K key, V value) { assertTrue(Thread.holdsLock(mutex)); return super.put(key, value); } @Override public void putAll(Map<? extends K, ? extends V> map) { assertTrue(Thread.holdsLock(mutex)); super.putAll(map); } @Override public Set<K> keySet() { assertTrue(Thread.holdsLock(mutex)); return super.keySet(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
super.put(entry); return this; } @CanIgnoreReturnValue @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { return putAll(map.entrySet()); } @CanIgnoreReturnValue @Override public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) { for (Entry<? extends K, ? extends V> entry : entries) { put(entry);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 16.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
* the methods of the delegate. For example, overriding {@link #put} alone <i>will not</i> change * the behavior of {@link #putAll}, which can lead to unexpected behavior. In this case, you should * override {@code putAll} as well, either providing your own implementation, or delegating to the * provided {@code standardPutAll} method. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0)