Home
last modified time | relevance | path

Searched refs:defaultEquivalence (Results 1 – 8 of 8) sorted by relevance

/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DLocalCache.java512 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
519 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
526 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
531 abstract Equivalence<Object> defaultEquivalence(); in defaultEquivalence() method in LocalCache.Strength
DCacheBuilder.java246 return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); in getKeyEquivalence()
250 return MoreObjects.firstNonNull(valueEquivalence, getValueStrength().defaultEquivalence()); in getValueEquivalence()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java299 return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); in getKeyEquivalence()
318 return MoreObjects.firstNonNull(valueEquivalence, getValueStrength().defaultEquivalence()); in getValueEquivalence()
DLocalCache.java388 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
404 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
420 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
436 abstract Equivalence<Object> defaultEquivalence(); in defaultEquivalence() method in LocalCache.Strength
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java81 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testDefaults()
82 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testDefaults()
122 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testSetKeyEquivalence()
246 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); in checkStrength()
247 assertSame(valueStrength.defaultEquivalence(), map.valueEquivalence); in checkStrength()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java155 return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence()); in getKeyEquivalence()
DMapMakerInternalMap.java202 valueEquivalence = valueStrength.defaultEquivalence(); in MapMakerInternalMap()
303 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
316 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
329 Equivalence<Object> defaultEquivalence() { in defaultEquivalence() method
345 abstract Equivalence<Object> defaultEquivalence(); in defaultEquivalence() method in MapMakerInternalMap.Strength
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java156 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testDefaults()
157 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testDefaults()
199 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); in testSetKeyEquivalence()
218 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testSetValueEquivalence()
369 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); in checkStrength()
370 assertSame(valueStrength.defaultEquivalence(), map.valueEquivalence); in checkStrength()