- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 375 for putAll (0.03 sec)
-
android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
.put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow(); private ReflectionFreeAssertThrows() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
.put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow(); private ReflectionFreeAssertThrows() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link * #getInstance} are available. * * <p>Generally, implementations don't support {@link #put} and {@link #putAll} because there is no * way to check an object at runtime to be an instance of a {@link TypeToken}. Instead, caller * should use the type safe {@link #putInstance}. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
* implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link * #getInstance} are available. * * <p>Generally, implementations don't support {@link #put} and {@link #putAll} because there is no * way to check an object at runtime to be an instance of a {@link TypeToken}. Instead, caller * should use the type safe {@link #putInstance}. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
@Override public Object put(final Object key, final Object value) { return getProperties().put(key, value); } @Override public void putAll(final Map<? extends Object, ? extends Object> t) { getProperties().putAll(t); } @Override public Object remove(final Object key) { return getProperties().remove(key); } @OverrideRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
*/ @Test public void testPutAll() throws Exception { final Map<String, String> m = new HashMap<String, String>(); m.put("three", "3"); m.put("four", "4"); map.putAll(m); assertThat(map.get("THREE"), is("3")); assertThat(map.get("FOUR"), is("4")); assertThat(map.size(), is(4)); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
.put(UnsupportedOperationException.class, e -> e instanceof UnsupportedOperationException) .put(VerifyException.class, e -> e instanceof VerifyException) .putAll(PlatformSpecificExceptionBatch.PLATFORM.exceptions()) .buildOrThrow(); private ReflectionFreeAssertThrows() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
* * @deprecated unsupported operation * @throws UnsupportedOperationException always */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public void putAll(Map<? extends TypeToken<? extends @NonNull B>, ? extends B> map) { throw new UnsupportedOperationException("Please use putInstance() instead."); } @OverrideRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); assertThrows(UnsupportedOperationException.class, () -> map.put("b", "2")); assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2"))); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue("one")); } public void testTransformRemoveEntry() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); cache.putAll(ImmutableMap.of(10, 20, 30, 50, 60, 90)); assertEquals(Integer.valueOf(20), cache.getIfPresent(10)); assertEquals(Integer.valueOf(50), cache.getIfPresent(30)); assertEquals(Integer.valueOf(90), cache.getIfPresent(60)); cache.asMap().putAll(ImmutableMap.of(10, 50, 30, 20, 60, 70, 5, 5));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0)