Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for constantLoader (0.38 seconds)

  1. guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

            }
            return result;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static <K, V> ConstantLoader<K, V> constantLoader(@Nullable V constant) {
        return new ConstantLoader<>(constant);
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static IncrementingLoader incrementingLoader() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

     * the License.
     */
    
    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;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

            }
            return result;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static <K, V> ConstantLoader<K, V> constantLoader(@Nullable V constant) {
        return new ConstantLoader<>(constant);
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static IncrementingLoader incrementingLoader() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 5.1K bytes
    - Click Count (0)
Back to Top