- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 148 for getAll (0.23 sec)
-
android/guava/src/com/google/common/cache/CacheLoader.java
} /** * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link * LoadingCache#getAll}. * * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does * contain will be cached, but {@code getAll} will throw an exception. If the returned map * contains extra keys not present in {@code keys} then all returned entries will be cached, but
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/ForwardingLoadingCache.java
return delegate().getUnchecked(key); } @CanIgnoreReturnValue // TODO(b/27479612): consider removing this @Override public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { return delegate().getAll(keys); } @Override public V apply(K key) { return delegate().apply(key); } @Override public void refresh(K key) { delegate().refresh(key);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 2.9K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
assertSame(Boolean.TRUE, forward.getUnchecked("key")); } public void testGetAll() throws ExecutionException { when(mock.getAll(ImmutableList.of("key"))).thenReturn(ImmutableMap.of("key", Boolean.TRUE)); assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); } public void testApply() { when(mock.apply("key")).thenReturn(Boolean.TRUE);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java
assertSame(Boolean.TRUE, forward.getUnchecked("key")); } public void testGetAll() throws ExecutionException { when(mock.getAll(ImmutableList.of("key"))).thenReturn(ImmutableMap.of("key", Boolean.TRUE)); assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); } public void testApply() { when(mock.apply("key")).thenReturn(Boolean.TRUE);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
* * <p>A lookup is specifically defined as an invocation of one of the methods {@link * LoadingCache#get(Object)}, {@link LoadingCache#getUnchecked(Object)}, {@link Cache#get(Object, * Callable)}, or {@link LoadingCache#getAll(Iterable)}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class CacheStats { private final long hitCount; private final long missCount;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* * <p>A lookup is specifically defined as an invocation of one of the methods {@link * LoadingCache#get(Object)}, {@link LoadingCache#getUnchecked(Object)}, {@link Cache#get(Object, * Callable)}, or {@link LoadingCache#getAll(Iterable)}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class CacheStats { private final long hitCount; private final long missCount;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* values * @throws ExecutionError if an error was thrown while loading the values * @since 11.0 */ @CanIgnoreReturnValue // TODO(b/27479612): consider removing this ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException; /** * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link * #getUnchecked} instead.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* authoritative location} * <li>{@linkplain LoadingCache#refresh refreshing of entries}, including {@linkplain * CacheBuilder#refreshAfterWrite automated refreshing} * <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain * CacheLoader#loadAll bulk loading implementations} * </ul> * * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 7.9K bytes - Viewed (1) -
android/guava/src/com/google/common/cache/Cache.java
* authoritative location} * <li>{@linkplain LoadingCache#refresh refreshing of entries}, including {@linkplain * CacheBuilder#refreshAfterWrite automated refreshing} * <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain * CacheLoader#loadAll bulk loading implementations} * </ul> * * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/LoadingCache.java
* values * @throws ExecutionError if an error was thrown while loading the values * @since 11.0 */ @CanIgnoreReturnValue // TODO(b/27479612): consider removing this ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException; /** * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link * #getUnchecked} instead.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Aug 06 17:12:03 GMT 2022 - 8.3K bytes - Viewed (0)