Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setValueStrength (0.28 sec)

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

       */
      @GwtIncompatible // java.lang.ref.SoftReference
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> softValues() {
        return setValueStrength(Strength.SOFT);
      }
    
      @CanIgnoreReturnValue
      CacheBuilder<K, V> setValueStrength(Strength strength) {
        checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
        valueStrength = checkNotNull(strength);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

       */
      @GwtIncompatible // java.lang.ref.SoftReference
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> softValues() {
        return setValueStrength(Strength.SOFT);
      }
    
      @CanIgnoreReturnValue
      CacheBuilder<K, V> setValueStrength(Strength strength) {
        checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
        valueStrength = checkNotNull(strength);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

        MapMaker readMapMaker(ObjectInputStream in) throws IOException {
          int size = in.readInt();
          return new MapMaker()
              .initialCapacity(size)
              .setKeyStrength(keyStrength)
              .setValueStrength(valueStrength)
              .keyEquivalence(keyEquivalence)
              .concurrencyLevel(concurrencyLevel);
        }
    
        @SuppressWarnings("unchecked")
        @J2ktIncompatible // java.io.ObjectInputStream
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        MapMaker readMapMaker(ObjectInputStream in) throws IOException {
          int size = in.readInt();
          return new MapMaker()
              .initialCapacity(size)
              .setKeyStrength(keyStrength)
              .setValueStrength(valueStrength)
              .keyEquivalence(keyEquivalence)
              .concurrencyLevel(concurrencyLevel);
        }
    
        @SuppressWarnings("unchecked")
        @J2ktIncompatible // java.io.ObjectInputStream
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        }
    
        CacheBuilder<K, V> recreateCacheBuilder() {
          CacheBuilder<K, V> builder =
              CacheBuilder.newBuilder()
                  .setKeyStrength(keyStrength)
                  .setValueStrength(valueStrength)
                  .keyEquivalence(keyEquivalence)
                  .valueEquivalence(valueEquivalence)
                  .concurrencyLevel(concurrencyLevel)
                  .removalListener(removalListener);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top