Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for valueStrength (0.1 sec)

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

        assertEquals("weigher", a.weigher, b.weigher);
        assertEquals("valueEquivalence", a.valueEquivalence, b.valueEquivalence);
        assertEquals("valueStrength", a.valueStrength, b.valueStrength);
        assertEquals("statsCounterSupplier", a.statsCounterSupplier, b.statsCounterSupplier);
        assertEquals("ticker", a.ticker, b.ticker);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals("weigher", a.weigher, b.weigher);
        assertEquals("valueEquivalence", a.valueEquivalence, b.valueEquivalence);
        assertEquals("valueStrength", a.valueStrength, b.valueStrength);
        assertEquals("statsCounterSupplier", a.statsCounterSupplier, b.statsCounterSupplier);
        assertEquals("ticker", a.ticker, b.ticker);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

      Strength keyStrength() {
        return entryHelper.keyStrength();
      }
    
      @VisibleForTesting
      Strength valueStrength() {
        return entryHelper.valueStrength();
      }
    
      @VisibleForTesting
      Equivalence<Object> valueEquivalence() {
        return entryHelper.valueStrength().defaultEquivalence();
      }
    
      // ConcurrentMap methods
    
      @Override
      public boolean isEmpty() {
        /*
    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

      Strength keyStrength() {
        return entryHelper.keyStrength();
      }
    
      @VisibleForTesting
      Strength valueStrength() {
        return entryHelper.valueStrength();
      }
    
      @VisibleForTesting
      Equivalence<Object> valueEquivalence() {
        return entryHelper.valueStrength().defaultEquivalence();
      }
    
      // ConcurrentMap methods
    
      @Override
      public boolean isEmpty() {
        /*
    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. android/guava/src/com/google/common/cache/CacheBuilder.java

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

      @CanIgnoreReturnValue
      CacheBuilder<K, V> setValueStrength(Strength strength) {
        checkState(valueStrength == null, "Value strength was already set to %s", valueStrength);
        valueStrength = checkNotNull(strength);
        return this;
      }
    
      Strength getValueStrength() {
        return MoreObjects.firstNonNull(valueStrength, Strength.STRONG);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      private static void checkStrength(
          LocalCache<Object, Object> map, Strength keyStrength, Strength valueStrength) {
        assertSame(keyStrength, map.keyStrength);
        assertSame(valueStrength, map.valueStrength);
        assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence);
        assertSame(valueStrength.defaultEquivalence(), map.valueEquivalence);
      }
    
      public void testSetExpireAfterWrite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      private static void checkStrength(
          LocalCache<Object, Object> map, Strength keyStrength, Strength valueStrength) {
        assertSame(keyStrength, map.keyStrength);
        assertSame(valueStrength, map.valueStrength);
        assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence);
        assertSame(valueStrength.defaultEquivalence(), map.valueEquivalence);
      }
    
      public void testSetExpireAfterWrite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

            RemovalListener<? super K, ? super V> removalListener,
            Ticker ticker,
            CacheLoader<? super K, V> loader) {
          this.keyStrength = keyStrength;
          this.valueStrength = valueStrength;
          this.keyEquivalence = keyEquivalence;
          this.valueEquivalence = valueEquivalence;
          this.expireAfterWriteNanos = expireAfterWriteNanos;
          this.expireAfterAccessNanos = expireAfterAccessNanos;
    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