- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for defaultEquivalence (0.12 sec)
-
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
STRONG { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.equals(); } }, SOFT { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.identity(); } }, WEAK { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.identity(); } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 21.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertSame(Strength.STRONG, map.keyStrength()); 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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertSame(Strength.STRONG, map.keyStrength()); 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);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertSame(Strength.STRONG, map.keyStrength); assertSame(Strength.STRONG, map.valueStrength); assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); assertEquals(0, map.expireAfterAccessNanos); assertEquals(0, map.expireAfterWriteNanos); assertEquals(0, map.refreshNanos);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertSame(Strength.STRONG, map.keyStrength); assertSame(Strength.STRONG, map.valueStrength); assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); assertEquals(0, map.expireAfterAccessNanos); assertEquals(0, map.expireAfterWriteNanos); assertEquals(0, map.refreshNanos);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
} throw new AssertionError(); } enum Strength { STRONG { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.equals(); } }, WEAK { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.identity(); } }; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
} throw new AssertionError(); } enum Strength { STRONG { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.equals(); } }, WEAK { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.identity(); } }; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
keyEquivalence = checkNotNull(equivalence); return this; } Equivalence<Object> getKeyEquivalence() { return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); } /** * Sets a custom {@code Equivalence} strategy for comparing values. * * <p>By default, the cache uses {@link Equivalence#identity} to determine value equality when
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 52K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
keyEquivalence = checkNotNull(equivalence); return this; } Equivalence<Object> getKeyEquivalence() { return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); } /** * Sets a custom {@code Equivalence} strategy for comparing values. * * <p>By default, the cache uses {@link Equivalence#identity} to determine value equality when
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 51.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
return (weight == 1) ? new StrongValueReference<K, V>(value) : new WeightedStrongValueReference<K, V>(value, weight); } @Override Equivalence<Object> defaultEquivalence() { return Equivalence.equals(); } }, SOFT { @Override <K, V> ValueReference<K, V> referenceValue(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0)