|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Multiset | |
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
| Uses of Multiset in com.google.common.collect |
|---|
| Classes in com.google.common.collect that implement Multiset | |
|---|---|
class |
AbstractMultiset<E>
This class provides a skeletal implementation of the Multiset
interface. |
class |
ConcurrentMultiset<E>
A multiset that supports concurrent modifications and that provides atomic versions of most Multiset operations (exceptions where noted). |
class |
EnumMultiset<E extends Enum<E>>
Multiset implementation backed by an EnumMap. |
class |
ForwardingMultiset<E>
A multiset which forwards all its method calls to another multiset. |
class |
HashMultiset<E>
Multiset implementation backed by a HashMap. |
class |
ImmutableMultiset<E>
An immutable hash-based multiset. |
class |
LinkedHashMultiset<E>
A Multiset implementation with predictable iteration order. |
class |
TreeMultiset<E>
Multiset implementation backed by a TreeMap. |
| Methods in com.google.common.collect that return Multiset | ||
|---|---|---|
static
|
Constraints.constrainedMultiset(Multiset<E> multiset,
Constraint<? super E> constraint)
Returns a constrained view of the specified multiset, using the specified constraint. |
|
protected abstract Multiset<E> |
ForwardingMultiset.delegate()
|
|
static
|
Multisets.forSet(java.util.Set<E> set)
Returns a multiset view of the specified set. |
|
Multiset<K> |
ForwardingMultimap.keys()
|
|
Multiset<K> |
Multimap.keys()
Returns a collection, which may contain duplicates, of all keys. |
|
static
|
Multisets.synchronizedMultiset(Multiset<E> multiset)
Returns a synchronized (thread-safe) multiset backed by the specified multiset. |
|
static
|
Multisets.unmodifiableMultiset(Multiset<E> multiset)
Returns an unmodifiable view of the specified multiset. |
|
| Methods in com.google.common.collect with parameters of type Multiset | ||
|---|---|---|
static
|
Constraints.constrainedMultiset(Multiset<E> multiset,
Constraint<? super E> constraint)
Returns a constrained view of the specified multiset, using the specified constraint. |
|
static
|
Multisets.frequencyOrder(Multiset<?> multiset)
Returns a comparator that orders elements according to their increasing frequency in a multiset. |
|
static
|
Serialization.populateMultiset(Multiset<E> multiset,
java.io.ObjectInputStream stream)
Populates a multiset by reading an input stream, as part of deserialization. |
|
static
|
Multisets.synchronizedMultiset(Multiset<E> multiset)
Returns a synchronized (thread-safe) multiset backed by the specified multiset. |
|
static
|
Multisets.unmodifiableMultiset(Multiset<E> multiset)
Returns an unmodifiable view of the specified multiset. |
|
static
|
Serialization.writeMultiset(Multiset<E> multiset,
java.io.ObjectOutputStream stream)
Stores the contents of a multiset in an output stream, as part of serialization. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||