Java com.google.common.collect ImmutableMultiset fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect ImmutableMultiset fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect ImmutableMultiset.

The text is from its open source code.

Field

ImmutableSetentrySet

Method

Builderbuilder()
Returns a new builder.
ImmutableMultisetcopyOf(E[] elements)
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
ImmutableMultisetcopyOf(Iterable elements)
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
ImmutableMultisetcopyOf(Iterator elements)
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
intcount(@Nullable Object element)
Returns the number of occurrences of an element in this multiset (the count of the element).
SetelementSet()
Returns the set of distinct elements contained in this multiset.
booleanequals(@Nullable Object object)
booleanisEmpty()
Returns true if this collection contains no elements.
UnmodifiableIteratoriterator()
ImmutableMultisetof()
Returns the empty immutable multiset.
ImmutableMultisetof(E element)
Returns an immutable multiset containing a single element.
ImmutableMultisetof(E e1, E e2, E e3)
Returns an immutable multiset containing the given elements, in the "grouped iteration order" described in the class documentation.
intsize()
Returns the number of elements in this collection.