Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
com.google.common.net |
This package contains utility methods and classes for working with net
addresses (numeric IP and domain names).
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DescendingImmutableSortedMultiset<E>
A descending wrapper around an
ImmutableSortedMultiset |
(package private) class |
EmptyImmutableSortedMultiset<E>
An empty immutable sorted multiset.
|
(package private) class |
ImmutableMultimap.Keys |
class |
ImmutableSortedMultiset<E>
An immutable
SortedMultiset that stores its elements in a sorted array. |
(package private) class |
ImmutableSortedMultisetFauxverideShim<E>
"Overrides" the
ImmutableMultiset static methods that lack
ImmutableSortedMultiset equivalents with deprecated, exception-throwing versions. |
(package private) class |
RegularImmutableMultiset<E>
Implementation of
ImmutableMultiset with zero or more elements. |
(package private) class |
RegularImmutableSortedMultiset<E>
An immutable sorted multiset with one or more distinct elements.
|
Modifier and Type | Field and Description |
---|---|
private static ImmutableMultiset<java.lang.Object> |
ImmutableMultiset.EMPTY |
(package private) ImmutableMultiset<E> |
ImmutableMultiset.EntrySetSerializedForm.multiset |
Modifier and Type | Method and Description |
---|---|
ImmutableMultiset<E> |
ImmutableMultiset.Builder.build()
Returns a newly-created
ImmutableMultiset based on the contents
of the Builder . |
(package private) static <E> ImmutableMultiset<E> |
ImmutableMultiset.copyFromEntries(java.util.Collection<? extends Multiset.Entry<? extends E>> entries) |
static <E> ImmutableMultiset<E> |
Multisets.copyHighestCountFirst(Multiset<E> multiset)
Returns a copy of
multiset as an ImmutableMultiset whose iteration order is
highest count first, with ties broken by the iteration order of the original multiset. |
static <E> ImmutableMultiset<E> |
ImmutableMultiset.copyOf(E[] elements)
Returns an immutable multiset containing the given elements.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.copyOf(java.lang.Iterable<? extends E> elements)
Returns an immutable multiset containing the given elements.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.copyOf(java.util.Iterator<? extends E> elements)
Returns an immutable multiset containing the given elements.
|
private static <E> ImmutableMultiset<E> |
ImmutableMultiset.copyOfInternal(E... elements) |
private static <E> ImmutableMultiset<E> |
ImmutableMultiset.copyOfInternal(Multiset<? extends E> multiset) |
(package private) ImmutableMultiset<K> |
ImmutableMultimap.createKeys() |
ImmutableMultiset<K> |
ImmutableMultimap.keys()
Returns a collection, which may contain duplicates, of all keys.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.of()
Returns the empty immutable multiset.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.of(E element)
Returns an immutable multiset containing a single element.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.of(E e1,
E e2)
Returns an immutable multiset containing the given elements, in order.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.of(E e1,
E e2,
E e3)
Returns an immutable multiset containing the given elements, in order.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.of(E e1,
E e2,
E e3,
E e4)
Returns an immutable multiset containing the given elements, in order.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.of(E e1,
E e2,
E e3,
E e4,
E e5)
Returns an immutable multiset containing the given elements, in order.
|
static <E> ImmutableMultiset<E> |
ImmutableMultiset.of(E e1,
E e2,
E e3,
E e4,
E e5,
E e6,
E... others)
Returns an immutable multiset containing the given elements, in order.
|
Modifier and Type | Method and Description |
---|---|
static <E> Multiset<E> |
Multisets.unmodifiableMultiset(ImmutableMultiset<E> multiset)
Deprecated.
no need to use this
|
Constructor and Description |
---|
EntrySetSerializedForm(ImmutableMultiset<E> multiset) |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.String,ImmutableMultiset<java.lang.String>> |
MediaType.parametersAsMap() |