Home
last modified time | relevance | path

Searched refs:valueEquivalence (Results 1 – 20 of 20) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java233 Equivalence<Object> valueEquivalence; field in CacheBuilder
310 CacheBuilder<K, V> valueEquivalence(Equivalence<Object> equivalence) { in valueEquivalence() method in CacheBuilder
311 checkState(valueEquivalence == null, in valueEquivalence()
312 "value equivalence was already set to %s", valueEquivalence); in valueEquivalence()
313 this.valueEquivalence = checkNotNull(equivalence); in valueEquivalence()
318 return MoreObjects.firstNonNull(valueEquivalence, getValueStrength().defaultEquivalence()); in getValueEquivalence()
862 if (valueEquivalence != null) { in toString()
DLocalCache.java181 final Equivalence<Object> valueEquivalence; field in LocalCache
243 valueEquivalence = builder.getValueEquivalence(); in LocalCache()
2810 if (map.valueEquivalence.equivalent(value, entryValue)) { in containsValue()
2997 if (map.valueEquivalence.equivalent(oldValue, entryValue)) { in replace()
3190 if (map.valueEquivalence.equivalent(value, entryValue)) { in remove()
4129 if (v != null && valueEquivalence.equivalent(value, v)) {
4535 return v != null && valueEquivalence.equivalent(e.getValue(), v);
4566 final Equivalence<Object> valueEquivalence;
4583 cache.valueEquivalence,
4596 Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence,
[all …]
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java227 Equivalence<Object> valueEquivalence; field in CacheBuilder
250 return MoreObjects.firstNonNull(valueEquivalence, getValueStrength().defaultEquivalence()); in getValueEquivalence()
617 if (valueEquivalence != null) { in toString()
/external/guava/guava/src/com/google/common/collect/
DComputingConcurrentHashMap.java383 valueEquivalence, expireAfterWriteNanos, expireAfterAccessNanos, maximumSize, in writeReplace()
392 Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence, in ComputingSerializationProxy() argument
396 super(keyStrength, valueStrength, keyEquivalence, valueEquivalence, expireAfterWriteNanos, in ComputingSerializationProxy()
DMapMakerInternalMap.java159 final Equivalence<Object> valueEquivalence; field in MapMakerInternalMap
202 valueEquivalence = valueStrength.defaultEquivalence(); in MapMakerInternalMap()
2484 if (map.valueEquivalence.equivalent(value, entryValue)) { in containsValue()
2667 if (map.valueEquivalence.equivalent(oldValue, entryValue)) { in replace()
2793 if (map.valueEquivalence.equivalent(value, entryValue)) { in remove()
3482 if (v != null && valueEquivalence.equivalent(value, v)) {
3853 return v != null && valueEquivalence.equivalent(e.getValue(), v);
3888 valueEquivalence, expireAfterWriteNanos, expireAfterAccessNanos, maximumSize,
3903 final Equivalence<Object> valueEquivalence;
3913 Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence,
[all …]
DMaps.java412 Equivalence<? super V> valueEquivalence) {
413 Preconditions.checkNotNull(valueEquivalence);
419 doDifference(left, right, valueEquivalence, onlyOnLeft, onlyOnRight, onBoth, differences);
425 Equivalence<? super V> valueEquivalence,
433 if (valueEquivalence.equivalent(leftValue, rightValue)) {
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java157 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testDefaults()
199 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testSetKeyEquivalence()
216 makeLocalCache(createCacheBuilder().valueEquivalence(testEquivalence)); in testSetValueEquivalence()
217 assertSame(testEquivalence, map.valueEquivalence); in testSetValueEquivalence()
370 assertSame(valueStrength.defaultEquivalence(), map.valueEquivalence); in checkStrength()
2419 assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence); in testSerializationProxyLoading()
2420 assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence); in testSerializationProxyLoading()
2436 assertEquals(localCacheTwo.valueEquivalence, localCacheThree.valueEquivalence); in testSerializationProxyLoading()
2437 assertEquals(localCacheTwo.valueEquivalence, localCacheThree.valueEquivalence); in testSerializationProxyLoading()
2474 assertEquals(localCacheOne.valueEquivalence, localCacheTwo.valueEquivalence); in testSerializationProxyManual()
[all …]
DCacheBuilderSpecTest.java559 assertEquals("valueEquivalence", a.valueEquivalence, b.valueEquivalence); in assertCacheBuilderEquivalence()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMaps.java407 Equivalence<? super V> valueEquivalence) {
408 Preconditions.checkNotNull(valueEquivalence);
414 doDifference(left, right, valueEquivalence, onlyOnLeft, onlyOnRight, onBoth, differences);
420 Equivalence<? super V> valueEquivalence,
428 if (valueEquivalence.equivalent(leftValue, rightValue)) {
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java82 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testDefaults()
122 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testSetKeyEquivalence()
247 assertSame(valueStrength.defaultEquivalence(), map.valueEquivalence); in checkStrength()
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...