Lines Matching refs:multiset
101 Multiset<? extends E> multiset = (elements instanceof Multiset) in copyOf() local
105 return copyOfInternal(multiset); in copyOf()
109 Multiset<? extends E> multiset) { in copyOfInternal() argument
113 for (Entry<? extends E> entry : multiset.entrySet()) { in copyOfInternal()
142 Multiset<E> multiset = LinkedHashMultiset.create(); in copyOf() local
143 Iterators.addAll(multiset, elements); in copyOf()
144 return copyOfInternal(multiset); in copyOf()
284 final ImmutableMultiset<E> multiset; field in EntrySet
286 public EntrySet(ImmutableMultiset<E> multiset) { in EntrySet() argument
287 this.multiset = multiset; in EntrySet()
292 = multiset.map.entrySet().iterator(); in iterator()
306 return multiset.map.size();
315 int count = multiset.count(entry.getElement());
322 return multiset.map.hashCode();
474 Multiset<? extends E> multiset = (Multiset<? extends E>) elements;
475 for (Entry<? extends E> entry : multiset.entrySet()) {