Home
last modified time | relevance | path

Searched refs:ConcurrentHashMultiset (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java81 return ConcurrentHashMultiset.create(asList(elements)); in concurrentHashMultisetGenerator()
89 Multiset<String> multiset = new ConcurrentHashMultiset<String>(
105 ConcurrentHashMultiset<String> multiset;
113 multiset = new ConcurrentHashMultiset<String>(backingMap);
276 ConcurrentHashMultiset<String> cms = ConcurrentHashMultiset.create();
299 multiset = ConcurrentHashMultiset.create();
350 ConcurrentHashMultiset<Integer> multiset = ConcurrentHashMultiset.create();
357 ConcurrentHashMultiset<Integer> multiset
358 = ConcurrentHashMultiset.create(iterable);
378 ConcurrentHashMultiset<String> multiset =
[all …]
DConcurrentHashMultisetBasherTest.java65 final ConcurrentHashMultiset<String> multiset = new ConcurrentHashMultiset<String>(map); in testAddAndRemove()
103 private final ConcurrentHashMultiset<String> multiset;
107 private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) { in MutateTask()
DBenchmarkHelpers.java225 return ConcurrentHashMultiset.create(contents); in create()
/external/guava/guava/src/com/google/common/collect/
DConcurrentHashMultiset.java57 public final class ConcurrentHashMultiset<E> extends AbstractMultiset<E> implements Serializable { class
75 static final FieldSetter<ConcurrentHashMultiset> COUNT_MAP_FIELD_SETTER =
76 Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap");
83 public static <E> ConcurrentHashMultiset<E> create() { in create()
87 return new ConcurrentHashMultiset<E>(new ConcurrentHashMap<E, AtomicInteger>()); in create()
98 public static <E> ConcurrentHashMultiset<E> create(Iterable<? extends E> elements) { in create()
99 ConcurrentHashMultiset<E> multiset = ConcurrentHashMultiset.create(); in create()
126 public static <E> ConcurrentHashMultiset<E> create(MapMaker mapMaker) { in create()
127 return new ConcurrentHashMultiset<E>(mapMaker.<E, AtomicInteger>makeMap()); in create()
140 @VisibleForTesting ConcurrentHashMultiset(ConcurrentMap<E, AtomicInteger> countMap) { in ConcurrentHashMultiset() method in ConcurrentHashMultiset
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllAllocationsRecorder.java22 import com.google.common.collect.ConcurrentHashMultiset;
36 private final ConcurrentHashMultiset<Allocation> allocations = ConcurrentHashMultiset.create();
/external/testng/src/test/java/test/retryAnalyzer/
DInvocationCountTest.java14 import com.google.common.collect.ConcurrentHashMultiset;
23 static final Multiset<String> invocations = ConcurrentHashMultiset.create();
/external/guava/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java136 return ConcurrentHashMultiset.create();