Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for defaultReader (0.12 seconds)

  1. android/guava/src/com/google/common/cache/LocalCache.java

       * must be aggregated to obtain a global stats view.
       */
      final StatsCounter globalStatsCounter;
    
      /** The default cache loader to use on loading operations. */
      final @Nullable CacheLoader<? super K, V> defaultLoader;
    
      /**
       * Creates a new, empty map with the specified strategy, initial capacity and concurrency level.
       */
      LocalCache(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

              public Object load(Object from) {
                return new Object();
              }
            };
        LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader);
        assertThat(cache.localCache.defaultLoader).isSameInstanceAs(loader);
      }
    
      // null parameters test
    
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

              public Object load(Object from) {
                return new Object();
              }
            };
        LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader);
        assertThat(cache.localCache.defaultLoader).isSameInstanceAs(loader);
      }
    
      // null parameters test
    
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

       * must be aggregated to obtain a global stats view.
       */
      final StatsCounter globalStatsCounter;
    
      /** The default cache loader to use on loading operations. */
      final @Nullable CacheLoader<? super K, V> defaultLoader;
    
      /**
       * Creates a new, empty map with the specified strategy, initial capacity and concurrency level.
       */
      LocalCache(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalLoadingCache<Object, Object> three = SerializableTester.reserialize(two);
        LocalCache<Object, Object> localCacheThree = three.localCache;
    
        assertThat(localCacheThree.defaultLoader).isEqualTo(localCacheTwo.defaultLoader);
        assertThat(localCacheThree.keyStrength).isEqualTo(localCacheTwo.keyStrength);
        assertThat(localCacheThree.valueEquivalence).isEqualTo(localCacheTwo.valueEquivalence);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalLoadingCache<Object, Object> three = SerializableTester.reserialize(two);
        LocalCache<Object, Object> localCacheThree = three.localCache;
    
        assertThat(localCacheThree.defaultLoader).isEqualTo(localCacheTwo.defaultLoader);
        assertThat(localCacheThree.keyStrength).isEqualTo(localCacheTwo.keyStrength);
        assertThat(localCacheThree.valueEquivalence).isEqualTo(localCacheTwo.valueEquivalence);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
Back to Top