Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for identityLoader (0.14 sec)

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

          public V load(K key) throws Exception {
            throw e;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the key for every request. */
      static <T> IdentityLoader<T> identityLoader() {
        return new IdentityLoader<T>();
      }
    
      /**
       * Returns a {@code new Object()} for every request, and increments a counter for every request.
       * The count is accessible via {@link #getCount}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top