- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for exceptionLoader (0.07 sec)
-
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
package com.google.common.cache; import static com.google.common.cache.CacheTesting.checkEmpty; import static com.google.common.cache.TestingCacheLoaders.constantLoader; import static com.google.common.cache.TestingCacheLoaders.exceptionLoader; import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener; import static com.google.common.truth.Truth.assertThat; import static java.util.concurrent.TimeUnit.SECONDS;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
package com.google.common.cache; import static com.google.common.cache.CacheTesting.checkEmpty; import static com.google.common.cache.TestingCacheLoaders.constantLoader; import static com.google.common.cache.TestingCacheLoaders.exceptionLoader; import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener; import static com.google.common.truth.Truth.assertThat; import static java.util.concurrent.TimeUnit.SECONDS;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
@Override public V load(K key) { throw e; } }; } /** Returns a {@link CacheLoader} that throws the given exception for every request. */ static <K, V> CacheLoader<K, V> exceptionLoader(Exception e) { checkNotNull(e); return new CacheLoader<K, V>() { @Override public V load(K key) throws Exception { throw e; } }; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 5.1K bytes - Viewed (0)