Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
EmptyImmutableListMultimap
Implementation of
ImmutableListMultimap with no entries. |
(package private) class |
EmptyImmutableSetMultimap
Implementation of
ImmutableListMultimap with no entries. |
class |
ImmutableListMultimap<K,V>
An immutable
ListMultimap with reliable user-specified key and value
iteration order. |
class |
ImmutableSetMultimap<K,V>
An immutable
SetMultimap with reliable user-specified key and value
iteration order. |
Modifier and Type | Field and Description |
---|---|
(package private) ImmutableMultimap<K,V> |
ImmutableMultimap.EntryCollection.multimap |
private ImmutableMultimap<K,V> |
ImmutableMultimap.Values.multimap |
Modifier and Type | Field and Description |
---|---|
(package private) static Serialization.FieldSetter<ImmutableMultimap> |
ImmutableMultimap.FieldSettersHolder.MAP_FIELD_SETTER |
(package private) static Serialization.FieldSetter<ImmutableMultimap> |
ImmutableMultimap.FieldSettersHolder.SIZE_FIELD_SETTER |
Modifier and Type | Method and Description |
---|---|
ImmutableMultimap<K,V> |
ImmutableMultimap.Builder.build()
Returns a newly-created immutable multimap.
|
static <K,V> ImmutableMultimap<K,V> |
ImmutableMultimap.copyOf(Multimap<? extends K,? extends V> multimap)
Returns an immutable multimap containing the same mappings as
multimap . |
abstract ImmutableMultimap<V,K> |
ImmutableMultimap.inverse()
Returns an immutable multimap which is the inverse of this one.
|
static <K,V> ImmutableMultimap<K,V> |
ImmutableMultimap.of()
Returns an empty multimap.
|
static <K,V> ImmutableMultimap<K,V> |
ImmutableMultimap.of(K k1,
V v1)
Returns an immutable multimap containing a single entry.
|
static <K,V> ImmutableMultimap<K,V> |
ImmutableMultimap.of(K k1,
V v1,
K k2,
V v2)
Returns an immutable multimap containing the given entries, in order.
|
static <K,V> ImmutableMultimap<K,V> |
ImmutableMultimap.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns an immutable multimap containing the given entries, in order.
|
static <K,V> ImmutableMultimap<K,V> |
ImmutableMultimap.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns an immutable multimap containing the given entries, in order.
|
static <K,V> ImmutableMultimap<K,V> |
ImmutableMultimap.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns an immutable multimap containing the given entries, in order.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Multimap<K,V> |
Multimaps.unmodifiableMultimap(ImmutableMultimap<K,V> delegate)
Deprecated.
no need to use this
|
Constructor and Description |
---|
EntryCollection(ImmutableMultimap<K,V> multimap) |
Values(ImmutableMultimap<K,V> multimap) |
Modifier and Type | Method and Description |
---|---|
ImmutableMultimap<Service.State,Service> |
ServiceManager.servicesByState()
Provides a snapshot of the current state of all the services under management.
|
(package private) ImmutableMultimap<Service.State,Service> |
ServiceManager.ServiceManagerState.servicesByState() |