Home
last modified time | relevance | path

Searched refs:keyEquivalence (Results 1 – 22 of 22) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java232 Equivalence<Object> keyEquivalence; field in CacheBuilder
292 CacheBuilder<K, V> keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence() method in CacheBuilder
293 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence); in keyEquivalence()
294 keyEquivalence = checkNotNull(equivalence); in keyEquivalence()
299 return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); in getKeyEquivalence()
859 if (keyEquivalence != null) { in toString()
DLocalCache.java178 final Equivalence<Object> keyEquivalence; field in LocalCache
242 keyEquivalence = builder.getKeyEquivalence(); in LocalCache()
1839 int h = keyEquivalence.hash(key); in hash()
2232 && map.keyEquivalence.equivalent(key, entryKey)) { in lockedGetOrLoad()
2421 && map.keyEquivalence.equivalent(key, entryKey)) { in insertLoadingValueReference()
2711 if (map.keyEquivalence.equivalent(key, entryKey)) { in getEntry()
2844 && map.keyEquivalence.equivalent(key, entryKey)) { in put()
2980 && map.keyEquivalence.equivalent(key, entryKey)) { in replace()
3033 && map.keyEquivalence.equivalent(key, entryKey)) { in replace()
3080 && map.keyEquivalence.equivalent(key, entryKey)) { in remove()
[all …]
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java128 Equivalence<Object> keyEquivalence; field in MapMaker
147 MapMaker keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence() method in MapMaker
148 checkState(keyEquivalence == null, "key equivalence was already set to %s", keyEquivalence); in keyEquivalence()
149 keyEquivalence = checkNotNull(equivalence); in keyEquivalence()
155 return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); in getKeyEquivalence()
618 if (keyEquivalence != null) { in toString()
DComputingConcurrentHashMap.java107 && map.keyEquivalence.equivalent(key, entryKey)) { in getOrCompute()
382 return new ComputingSerializationProxy<K, V>(keyStrength, valueStrength, keyEquivalence, in writeReplace()
392 Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence, in ComputingSerializationProxy() argument
396 super(keyStrength, valueStrength, keyEquivalence, valueEquivalence, expireAfterWriteNanos, in ComputingSerializationProxy()
DMapMakerInternalMap.java156 final Equivalence<Object> keyEquivalence; field in MapMakerInternalMap
201 keyEquivalence = builder.getKeyEquivalence(); in MapMakerInternalMap()
1851 int h = keyEquivalence.hash(key); in hash()
2413 if (map.keyEquivalence.equivalent(key, entryKey)) { in getEntry()
2516 && map.keyEquivalence.equivalent(key, entryKey)) { in put()
2649 && map.keyEquivalence.equivalent(key, entryKey)) { in replace()
2700 && map.keyEquivalence.equivalent(key, entryKey)) { in replace()
2745 && map.keyEquivalence.equivalent(key, entryKey)) { in remove()
2788 && map.keyEquivalence.equivalent(key, entryKey)) { in remove()
2933 && map.keyEquivalence.equivalent(key, entryKey)) { in reclaimValue()
[all …]
DInterners.java70 .keyEquivalence(Equivalence.equals())
DGenericMapMaker.java70 abstract GenericMapMaker<K0, V0> keyEquivalence(Equivalence<Object> equivalence); in keyEquivalence() method in GenericMapMaker
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java226 Equivalence<Object> keyEquivalence; field in CacheBuilder
246 return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); in getKeyEquivalence()
614 if (keyEquivalence != null) { in toString()
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java376 .keyEquivalence(Equivalence.identity());
415 .keyEquivalence(Equivalence.equals());
461 .keyEquivalence(Equivalence.identity());
DMapMakerInternalMapTest.java81 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testDefaults()
120 makeMap(createMapMaker().keyEquivalence(testEquivalence)); in testSetKeyEquivalence()
121 assertSame(testEquivalence, map.keyEquivalence); in testSetKeyEquivalence()
246 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); in checkStrength()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java555 assertEquals("keyEquivalence", a.keyEquivalence, b.keyEquivalence); in assertCacheBuilderEquivalence()
DLocalCacheTest.java156 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testDefaults()
197 makeLocalCache(createCacheBuilder().keyEquivalence(testEquivalence)); in testSetKeyEquivalence()
198 assertSame(testEquivalence, map.keyEquivalence); in testSetKeyEquivalence()
218 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testSetValueEquivalence()
369 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); 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/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/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/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- ...