Searched refs:ConcurrentHashMultiset (Results 1 – 7 of 7) sorted by relevance
81 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> multiset358 = ConcurrentHashMultiset.create(iterable);378 ConcurrentHashMultiset<String> multiset =[all …]
65 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()
225 return ConcurrentHashMultiset.create(contents); in create()
57 public final class ConcurrentHashMultiset<E> extends AbstractMultiset<E> implements Serializable { class75 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 …]
22 import com.google.common.collect.ConcurrentHashMultiset;36 private final ConcurrentHashMultiset<Allocation> allocations = ConcurrentHashMultiset.create();
14 import com.google.common.collect.ConcurrentHashMultiset;23 static final Multiset<String> invocations = ConcurrentHashMultiset.create();
136 return ConcurrentHashMultiset.create();