Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LocalLoadingCache (0.43 sec)

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

       * IllegalArgumentException if this is a Cache type that doesn't have a LocalCache.
       */
      static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) {
        if (cache instanceof LocalLoadingCache) {
          return ((LocalLoadingCache<K, V>) cache).localCache;
        }
        throw new IllegalArgumentException(
            "Cache of type " + cache.getClass() + " doesn't have a LocalCache.");
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheTesting.java

       * IllegalArgumentException if this is a Cache type that doesn't have a LocalCache.
       */
      static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) {
        if (cache instanceof LocalLoadingCache) {
          return ((LocalLoadingCache<K, V>) cache).localCache;
        }
        throw new IllegalArgumentException(
            "Cache of type " + cache.getClass() + " doesn't have a LocalCache.");
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top