- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for getAllPresent (0.22 sec)
-
guava-tests/test/com/google/common/cache/CacheManualTest.java
assertEquals(ImmutableMap.of(), cache.getAllPresent(ImmutableList.<Integer>of())); stats = cache.stats(); assertEquals(0, stats.missCount()); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); assertEquals(ImmutableMap.of(), cache.getAllPresent(asList(1, 2, 3))); stats = cache.stats();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheManualTest.java
assertEquals(ImmutableMap.of(), cache.getAllPresent(ImmutableList.<Integer>of())); stats = cache.stats(); assertEquals(0, stats.missCount()); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); assertEquals(ImmutableMap.of(), cache.getAllPresent(asList(1, 2, 3))); stats = cache.stats();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
* effort required to implement this interface. * * <p>To implement a cache, the programmer needs only to extend this class and provide an * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
} public void testGetAllPresent() throws ExecutionException { when(mock.getAllPresent(ImmutableList.of("key"))) .thenReturn(ImmutableMap.of("key", Boolean.TRUE)); assertEquals( ImmutableMap.of("key", Boolean.TRUE), forward.getAllPresent(ImmutableList.of("key"))); } public void testInvalidate() { forward.invalidate("key");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/ForwardingCache.java
* differ: <? extends Object> means "non-null types," while <?> means "all types." */ public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) { return delegate().getAllPresent(keys); } /** @since 11.0 */ @Override public void put(K key, V value) { delegate().put(key, value); } /** @since 12.0 */ @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingCache.java
* differ: <? extends Object> means "non-null types," while <?> means "all types." */ public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) { return delegate().getAllPresent(keys); } /** @since 11.0 */ @Override public void put(K key, V value) { delegate().put(key, value); } /** @since 12.0 */ @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
* effort required to implement this interface. * * <p>To implement a cache, the programmer needs only to extend this class and provide an * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
} public void testGetAllPresent() throws ExecutionException { when(mock.getAllPresent(ImmutableList.of("key"))) .thenReturn(ImmutableMap.of("key", Boolean.TRUE)); assertEquals( ImmutableMap.of("key", Boolean.TRUE), forward.getAllPresent(ImmutableList.of("key"))); } public void testInvalidate() { forward.invalidate("key");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java
@Override public @Nullable Object getIfPresent(Object key) { return null; } }; assertEquals(ImmutableMap.of(), cache.getAllPresent(ImmutableList.of(new Object()))); } public void testGetAllPresent_cached() { final Object cachedKey = new Object(); final Object cachedValue = new Object(); Cache<Object, Object> cache =
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
@Override public @Nullable Object getIfPresent(Object key) { return null; } }; assertEquals(ImmutableMap.of(), cache.getAllPresent(ImmutableList.of(new Object()))); } public void testGetAllPresent_cached() { final Object cachedKey = new Object(); final Object cachedValue = new Object(); Cache<Object, Object> cache =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 6.2K bytes - Viewed (0)