Example usage for Java com.google.common.collect ImmutableMultiset fields, constructors, methods, implement or subclass
The text is from its open source code.
ImmutableSet | entrySet |
Builder | builder() Returns a new builder. |
ImmutableMultiset | copyOf(E[] elements) Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation. |
ImmutableMultiset | copyOf(Iterable extends E> elements) Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation. |
ImmutableMultiset | copyOf(Iterator extends E> elements) Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation. |
int | count(@Nullable Object element) Returns the number of occurrences of an element in this multiset (the count of the element). |
Set | elementSet() Returns the set of distinct elements contained in this multiset. |
boolean | equals(@Nullable Object object) |
boolean | isEmpty() Returns true if this collection contains no elements. |
UnmodifiableIterator | iterator() |
ImmutableMultiset | of() Returns the empty immutable multiset. |
ImmutableMultiset | of(E element) Returns an immutable multiset containing a single element. |
ImmutableMultiset | of(E e1, E e2, E e3) Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation. |
int | size() Returns the number of elements in this collection. |