Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for valueEquivalence (0.2 sec)

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

        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight);
        assertEquals(localCacheOne.weigher, localCacheTwo.weigher);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence);
        assertEquals(localCacheOne.maxWeight, localCacheTwo.maxWeight);
        assertEquals(localCacheOne.weigher, localCacheTwo.weigher);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

        final Equivalence<Object> keyEquivalence;
        final Equivalence<Object> valueEquivalence;
        final int concurrencyLevel;
    
        transient ConcurrentMap<K, V> delegate;
    
        AbstractSerializationProxy(
            Strength keyStrength,
            Strength valueStrength,
            Equivalence<Object> keyEquivalence,
            Equivalence<Object> valueEquivalence,
            int concurrencyLevel,
            ConcurrentMap<K, V> delegate) {
    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-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

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

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

      @CanIgnoreReturnValue
      CacheBuilder<K, V> valueEquivalence(Equivalence<Object> equivalence) {
        checkState(
            valueEquivalence == null, "value equivalence was already set to %s", valueEquivalence);
        this.valueEquivalence = checkNotNull(equivalence);
        return this;
      }
    
      Equivalence<Object> getValueEquivalence() {
        return MoreObjects.firstNonNull(valueEquivalence, getValueStrength().defaultEquivalence());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        final Equivalence<Object> keyEquivalence;
        final Equivalence<Object> valueEquivalence;
        final int concurrencyLevel;
    
        transient ConcurrentMap<K, V> delegate;
    
        AbstractSerializationProxy(
            Strength keyStrength,
            Strength valueStrength,
            Equivalence<Object> keyEquivalence,
            Equivalence<Object> valueEquivalence,
            int concurrencyLevel,
            ConcurrentMap<K, V> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue
      CacheBuilder<K, V> valueEquivalence(Equivalence<Object> equivalence) {
        checkState(
            valueEquivalence == null, "value equivalence was already set to %s", valueEquivalence);
        this.valueEquivalence = checkNotNull(equivalence);
        return this;
      }
    
      Equivalence<Object> getValueEquivalence() {
        return MoreObjects.firstNonNull(valueEquivalence, getValueStrength().defaultEquivalence());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

            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;
          this.maxWeight = maxWeight;
          this.weigher = weigher;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertSame(Strength.STRONG, map.valueStrength());
        assertSame(map.keyStrength().defaultEquivalence(), map.keyEquivalence);
        assertSame(map.valueStrength().defaultEquivalence(), map.valueEquivalence());
    
        assertThat(map.entryHelper)
            .isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class);
    
        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top