Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for valueEquivalence (0.1 seconds)

  1. android/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;
    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. 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;
    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)
  3. android/guava/src/com/google/common/collect/Maps.java

              Equivalence<? super @NonNull V> valueEquivalence) {
        Preconditions.checkNotNull(valueEquivalence);
    
        Map<K, V> onlyOnLeft = new LinkedHashMap<>();
        Map<K, V> onlyOnRight = new LinkedHashMap<>(right); // will whittle it down
        Map<K, V> onBoth = new LinkedHashMap<>();
        Map<K, ValueDifference<V>> differences = new LinkedHashMap<>();
        doDifference(left, right, valueEquivalence, onlyOnLeft, onlyOnRight, onBoth, differences);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

              protected int doHash(Object t) {
                return 0;
              }
            };
    
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().valueEquivalence(testEquivalence));
        assertThat(map.valueEquivalence).isSameInstanceAs(testEquivalence);
        assertThat(map.keyEquivalence).isSameInstanceAs(map.keyStrength.defaultEquivalence());
      }
    
      public void testSetConcurrencyLevel() {
    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)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

              protected int doHash(Object t) {
                return 0;
              }
            };
    
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().valueEquivalence(testEquivalence));
        assertThat(map.valueEquivalence).isSameInstanceAs(testEquivalence);
        assertThat(map.keyEquivalence).isSameInstanceAs(map.keyStrength.defaultEquivalence());
      }
    
      public void testSetConcurrencyLevel() {
    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)
  6. guava/src/com/google/common/collect/Maps.java

              Equivalence<? super @NonNull V> valueEquivalence) {
        Preconditions.checkNotNull(valueEquivalence);
    
        Map<K, V> onlyOnLeft = new LinkedHashMap<>();
        Map<K, V> onlyOnRight = new LinkedHashMap<>(right); // will whittle it down
        Map<K, V> onBoth = new LinkedHashMap<>();
        Map<K, ValueDifference<V>> differences = new LinkedHashMap<>();
        doDifference(left, right, valueEquivalence, onlyOnLeft, onlyOnRight, onBoth, differences);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
Back to Top