- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 375 for putAll (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
filtered.put("a", 1); filtered.put("b", 2); assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); assertThrows( IllegalArgumentException.class, () -> filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5))); assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); } public void testFilteredKeysFilteredReflectsBackingChanges() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* * @throws NullPointerException if any key or value in {@code map} is null */ @CanIgnoreReturnValue @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { super.putAll(map); return this; } /** * Adds all of the given entries to the built bimap. Duplicate keys or values are not allowed, * and will cause {@link #build} to fail.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocMap.java
/** * Copies all of the mappings from the specified map to this map. * * @param m the mappings to be stored in this map */ @Override public void putAll(final Map<? extends String, ? extends Object> m) { parent.putAll(m); } /** * Removes all of the mappings from this map. */ @Override public void clear() { parent.clear(); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
@Override public @Nullable V put(K key, V value) { return delegate.put(checkValid(key), value); } @Override public void putAll(Map<? extends K, ? extends V> map) { for (K key : map.keySet()) { checkValid(key); } delegate.putAll(map); } @Override public @Nullable V remove(Object key) { return delegate.remove(checkValid(key)); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.put(rowKey, columnKey, value); } @Override public void putAll(Table<? extends R, ? extends C, ? extends V> table) { assertTrue(Thread.holdsLock(mutex)); delegate.putAll(table); } @Override public @Nullable V remove(Object rowKey, Object columnKey) { assertTrue(Thread.holdsLock(mutex));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
Map<String, Integer> moreToPut = new LinkedHashMap<>(); moreToPut.put("four", 4); moreToPut.put("five", 5); ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().putAll(toPut).putAll(moreToPut).build(); assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5); assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
boolean append = false; final Map<String, String[]> parameterMap = new HashMap<>(req.getParameterMap()); parameterMap.putAll(getParameterMapFromQueryString(req, entry.getValue())); for (final Map.Entry<String, String[]> paramEntry : parameterMap.entrySet()) { final String[] values = paramEntry.getValue();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
return super.put(key, value); } @Override public void putAll(Map<? extends Class<? extends @NonNull B>, ? extends B> map) { Map<Class<? extends @NonNull B>, B> copy = new LinkedHashMap<>(map); for (Entry<? extends Class<? extends @NonNull B>, B> entry : copy.entrySet()) { cast(entry.getKey(), entry.getValue()); } super.putAll(copy); } @CanIgnoreReturnValue @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* @throws ClassCastException if any value is not an instance of the type specified by its key */ @CanIgnoreReturnValue public <T extends B> Builder<B> putAll(Map<? extends Class<? extends T>, ? extends T> map) { for (Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet()) { Class<? extends T> type = entry.getKey(); T value = entry.getValue();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.1K bytes - Viewed (0)