Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java358 MapMaker mapMaker = new MapMaker() in testIdentityKeyEquality() local
363 ConcurrentHashMultiset.create(mapMaker); in testIdentityKeyEquality()
401 MapMaker mapMaker = new MapMaker() in testLogicalKeyEquality() local
406 ConcurrentHashMultiset.create(mapMaker); in testLogicalKeyEquality()
428 MapMaker mapMaker = new MapMaker(); in testSerializationWithMapMaker1() local
429 multiset = ConcurrentHashMultiset.create(mapMaker); in testSerializationWithMapMaker1()
434 MapMaker mapMaker = new MapMaker(); in testSerializationWithMapMaker2() local
435 multiset = ConcurrentHashMultiset.create(mapMaker); in testSerializationWithMapMaker2()
441 MapMaker mapMaker = new MapMaker().expireAfterWrite(1, TimeUnit.SECONDS); in testSerializationWithMapMaker3() local
442 multiset = ConcurrentHashMultiset.create(mapMaker); in testSerializationWithMapMaker3()
[all …]
DConcurrentHashMultisetBasherTest.java56 MapMaker mapMaker = new MapMaker(); in testAddAndRemove_MapMakerMap() local
58 mapMaker.useCustomMap = true; in testAddAndRemove_MapMakerMap()
59 testAddAndRemove(mapMaker.<String, AtomicInteger>makeMap()); in testAddAndRemove_MapMakerMap()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DPlatform.java49 static MapMaker tryWeakKeys(MapMaker mapMaker) { in tryWeakKeys() argument
50 return mapMaker; in tryWeakKeys()
/external/guava/guava/src/com/google/common/collect/
DPlatform.java91 static MapMaker tryWeakKeys(MapMaker mapMaker) { in tryWeakKeys() argument
92 return mapMaker.weakKeys(); in tryWeakKeys()
DMapMaker.java846 NullConcurrentMap(MapMaker mapMaker) { in NullConcurrentMap() argument
847 removalListener = mapMaker.getRemovalListener(); in NullConcurrentMap()
848 removalCause = mapMaker.nullRemovalCause; in NullConcurrentMap()
924 MapMaker mapMaker, Function<? super K, ? extends V> computingFunction) { in NullComputingConcurrentMap() argument
925 super(mapMaker); in NullComputingConcurrentMap()
959 ComputingMapAdapter(MapMaker mapMaker, in ComputingMapAdapter() argument
961 super(mapMaker, computingFunction); in ComputingMapAdapter()
DConcurrentHashMultiset.java120 GenericMapMaker<? super E, ? super Number> mapMaker) { in create() argument
121 return new ConcurrentHashMultiset<E>(mapMaker.<E, AtomicInteger>makeMap()); in create()
DComputingConcurrentHashMap.java406 MapMaker mapMaker = readMapMaker(in); in readObject() local
407 delegate = mapMaker.makeComputingMap(computingFunction); in readObject()
DMapMakerInternalMap.java3997 MapMaker mapMaker = new MapMaker()
4004 mapMaker.removalListener(removalListener);
4006 mapMaker.expireAfterWrite(expireAfterWriteNanos, TimeUnit.NANOSECONDS);
4009 mapMaker.expireAfterAccess(expireAfterAccessNanos, TimeUnit.NANOSECONDS);
4012 mapMaker.maximumSize(maximumSize);
4014 return mapMaker;
4053 MapMaker mapMaker = readMapMaker(in);
4054 delegate = mapMaker.makeMap();