Uses of Class
com.google.common.collect.ImmutableMultimap
-
Packages that use ImmutableMultimap Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections.com.google.common.testing This package contains testing utilities.com.google.common.util.concurrent Concurrency utilities. -
-
Uses of ImmutableMultimap in com.google.common.collect
Subclasses of ImmutableMultimap in com.google.common.collect Modifier and Type Class Description (package private) class
EmptyImmutableListMultimap
Implementation ofImmutableListMultimap
with no entries.(package private) class
EmptyImmutableSetMultimap
Implementation ofImmutableListMultimap
with no entries.class
ImmutableListMultimap<K,V>
AListMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSetMultimap<K,V>
ASetMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.Fields in com.google.common.collect declared as ImmutableMultimap Modifier and Type Field Description (package private) ImmutableMultimap<K,V>
ImmutableMultimap.EntryCollection. multimap
private ImmutableMultimap<K,V>
ImmutableMultimap.Values. multimap
Fields in com.google.common.collect with type parameters of type ImmutableMultimap Modifier and Type Field Description (package private) static Serialization.FieldSetter<ImmutableMultimap>
ImmutableMultimap.FieldSettersHolder. MAP_FIELD_SETTER
(package private) static Serialization.FieldSetter<ImmutableMultimap>
ImmutableMultimap.FieldSettersHolder. SIZE_FIELD_SETTER
Methods in com.google.common.collect that return ImmutableMultimap Modifier and Type Method 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 asmultimap
, in the "key-grouped" iteration order described in the class documentation.static <K,V>
ImmutableMultimap<K,V>ImmutableMultimap. copyOf(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries)
Returns an immutable multimap containing the specified entries.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 the "key-grouped" insertion order described in the class documentation.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 the "key-grouped" insertion order described in the class documentation.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 the "key-grouped" insertion order described in the class documentation.Methods in com.google.common.collect with parameters of type ImmutableMultimap Modifier and Type Method Description static <K,V>
Multimap<K,V>Multimaps. unmodifiableMultimap(ImmutableMultimap<K,V> delegate)
Deprecated.no need to use thisConstructors in com.google.common.collect with parameters of type ImmutableMultimap Constructor Description EntryCollection(ImmutableMultimap<K,V> multimap)
Values(ImmutableMultimap<K,V> multimap)
-
Uses of ImmutableMultimap in com.google.common.testing
Methods in com.google.common.testing that return ImmutableMultimap Modifier and Type Method Description private static <K,V>
ImmutableMultimap<K,V>FreshValueGenerator. generateImmutableMultimap(K key, V value)
-
Uses of ImmutableMultimap in com.google.common.util.concurrent
Methods in com.google.common.util.concurrent that return ImmutableMultimap Modifier and Type Method Description (package private) ImmutableMultimap<Service.State,Service>
ServiceManager.ServiceManagerState. servicesByState()
ImmutableMultimap<Service.State,Service>
ServiceManager. servicesByState()
Provides a snapshot of the current state of all the services under management.
-