Home
last modified time | relevance | path

Searched refs:EntryFactory (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java37 import com.google.common.cache.LocalCache.EntryFactory;
134 assertSame(EntryFactory.STRONG, map.entryFactory); in testDefaults()
316 assertSame(EntryFactory.WEAK, map.entryFactory); in testSetWeakKeys()
322 assertSame(EntryFactory.STRONG, map.entryFactory); in testSetWeakValues()
328 assertSame(EntryFactory.STRONG, map.entryFactory); in testSetSoftValues()
382 assertSame(EntryFactory.STRONG, in testEntryFactory()
383 EntryFactory.getFactory(Strength.STRONG, false, false)); in testEntryFactory()
384 assertSame(EntryFactory.STRONG_ACCESS, in testEntryFactory()
385 EntryFactory.getFactory(Strength.STRONG, true, false)); in testEntryFactory()
386 assertSame(EntryFactory.STRONG_WRITE, in testEntryFactory()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java31 import com.google.common.collect.MapMakerInternalMap.EntryFactory;
88 assertSame(EntryFactory.STRONG, map.entryFactory); in testDefaults()
246 assertSame(EntryFactory.WEAK, map.entryFactory); in testSetWeakKeys()
253 assertSame(EntryFactory.SOFT, map.entryFactory); in testSetSoftKeys()
259 assertSame(EntryFactory.STRONG, map.entryFactory); in testSetWeakValues()
265 assertSame(EntryFactory.STRONG, map.entryFactory); in testSetSoftValues()
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java188 final transient EntryFactory entryFactory;
209 entryFactory = EntryFactory.getFactory(keyStrength, expires(), evictsBySize()); in MapMakerInternalMap()
352 enum EntryFactory { enum in MapMakerInternalMap
525 static final EntryFactory[][] factories = {
531 static EntryFactory getFactory(Strength keyStrength, boolean expireAfterWrite, in getFactory()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java216 final EntryFactory entryFactory;
254 entryFactory = EntryFactory.getFactory(keyStrength, usesAccessEntries(), usesWriteEntries()); in LocalCache()
437 enum EntryFactory { enum in LocalCache
556 static final EntryFactory[] factories = {
561 static EntryFactory getFactory(Strength keyStrength, boolean usesAccessQueue, in getFactory()