Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Heigh (0.18 sec)

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

      }
    
      public void testSetWeigher() {
        Weigher<Object, Object> testWeigher =
            new Weigher<Object, Object>() {
              @Override
              public int weigh(Object key, Object value) {
                return 42;
              }
            };
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().maximumWeight(1).weigher(testWeigher));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      public void testSetWeigher() {
        Weigher<Object, Object> testWeigher =
            new Weigher<Object, Object>() {
              @Override
              public int weigh(Object key, Object value) {
                return 42;
              }
            };
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().maximumWeight(1).weigher(testWeigher));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

      /** Strategy for referencing values. */
      final Strength valueStrength;
    
      /** The maximum weight of this map. UNSET_INT if there is no maximum. */
      final long maxWeight;
    
      /** Weigher to weigh cache entries. */
      final Weigher<K, V> weigher;
    
      /** How long after the last access to an entry the map will retain that entry. */
      final long expireAfterAccessNanos;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

      /** Strategy for referencing values. */
      final Strength valueStrength;
    
      /** The maximum weight of this map. UNSET_INT if there is no maximum. */
      final long maxWeight;
    
      /** Weigher to weigh cache entries. */
      final Weigher<K, V> weigher;
    
      /** How long after the last access to an entry the map will retain that entry. */
      final long expireAfterAccessNanos;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top