Uses of Class
com.google.common.collect.ImmutableSetMultimap
-
Packages that use ImmutableSetMultimap 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 ImmutableSetMultimap in com.google.common.collect
Subclasses of ImmutableSetMultimap in com.google.common.collect Modifier and Type Class Description (package private) class
EmptyImmutableSetMultimap
Implementation ofImmutableListMultimap
with no entries.Fields in com.google.common.collect declared as ImmutableSetMultimap Modifier and Type Field Description private ImmutableSetMultimap<V,K>
ImmutableSetMultimap. inverse
private ImmutableSetMultimap<K,V>
ImmutableSetMultimap.EntrySet. multimap
private ImmutableSetMultimap<K,V>
ImmutableMap. multimapView
Fields in com.google.common.collect with type parameters of type ImmutableSetMultimap Modifier and Type Field Description (package private) static Serialization.FieldSetter<ImmutableSetMultimap>
ImmutableSetMultimap.SetFieldSettersHolder. EMPTY_SET_FIELD_SETTER
Methods in com.google.common.collect that return ImmutableSetMultimap Modifier and Type Method Description ImmutableSetMultimap<K,V>
ImmutableMap. asMultimap()
Returns a multimap view of the map.ImmutableSetMultimap<K,V>
ImmutableSetMultimap.Builder. build()
Returns a newly-created immutable set multimap.static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. copyOf(Multimap<? extends K,? extends V> multimap)
Returns an immutable set multimap containing the same mappings asmultimap
.private static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. copyOf(Multimap<? extends K,? extends V> multimap, java.util.Comparator<? super V> valueComparator)
static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. copyOf(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries)
Returns an immutable multimap containing the specified entries.(package private) static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. fromMapEntries(java.util.Collection<? extends java.util.Map.Entry<? extends K,? extends java.util.Collection<? extends V>>> mapEntries, java.util.Comparator<? super V> valueComparator)
Creates an ImmutableSetMultimap from an asMap.entrySet.ImmutableSetMultimap<V,K>
ImmutableSetMultimap. inverse()
Returns an immutable multimap which is the inverse of this one.private ImmutableSetMultimap<V,K>
ImmutableSetMultimap. invert()
static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. of()
Returns the empty multimap.static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. of(K k1, V v1)
Returns an immutable multimap containing a single entry.static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. of(K k1, V v1, K k2, V v2)
Returns an immutable multimap containing the given entries, in order.static <K,V>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. 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>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. 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>
ImmutableSetMultimap<K,V>ImmutableSetMultimap. 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.Methods in com.google.common.collect that return types with arguments of type ImmutableSetMultimap Modifier and Type Method Description (package private) static <T,K,V>
java.util.stream.Collector<T,?,ImmutableSetMultimap<K,V>>CollectCollectors. flatteningToImmutableSetMultimap(java.util.function.Function<? super T,? extends K> keyFunction, java.util.function.Function<? super T,? extends java.util.stream.Stream<? extends V>> valuesFunction)
static <T,K,V>
java.util.stream.Collector<T,?,ImmutableSetMultimap<K,V>>ImmutableSetMultimap. flatteningToImmutableSetMultimap(java.util.function.Function<? super T,? extends K> keyFunction, java.util.function.Function<? super T,? extends java.util.stream.Stream<? extends V>> valuesFunction)
Returns aCollector
accumulating entries into anImmutableSetMultimap
.(package private) static <T,K,V>
java.util.stream.Collector<T,?,ImmutableSetMultimap<K,V>>CollectCollectors. toImmutableSetMultimap(java.util.function.Function<? super T,? extends K> keyFunction, java.util.function.Function<? super T,? extends V> valueFunction)
static <T,K,V>
java.util.stream.Collector<T,?,ImmutableSetMultimap<K,V>>ImmutableSetMultimap. toImmutableSetMultimap(java.util.function.Function<? super T,? extends K> keyFunction, java.util.function.Function<? super T,? extends V> valueFunction)
Returns aCollector
that accumulates elements into anImmutableSetMultimap
whose keys and values are the result of applying the provided mapping functions to the input elements.Methods in com.google.common.collect with parameters of type ImmutableSetMultimap Modifier and Type Method Description static <K,V>
SetMultimap<K,V>Multimaps. unmodifiableSetMultimap(ImmutableSetMultimap<K,V> delegate)
Deprecated.no need to use thisConstructors in com.google.common.collect with parameters of type ImmutableSetMultimap Constructor Description EntrySet(ImmutableSetMultimap<K,V> multimap)
-
Uses of ImmutableSetMultimap in com.google.common.testing
Methods in com.google.common.testing that return ImmutableSetMultimap Modifier and Type Method Description (package private) static <K,V>
ImmutableSetMultimap<K,V>FreshValueGenerator. generateImmutableSetMultimap(K key, V value)
-
Uses of ImmutableSetMultimap in com.google.common.util.concurrent
Methods in com.google.common.util.concurrent that return ImmutableSetMultimap Modifier and Type Method Description (package private) ImmutableSetMultimap<Service.State,Service>
ServiceManager.ServiceManagerState. servicesByState()
ImmutableSetMultimap<Service.State,Service>
ServiceManager. servicesByState()
Provides a snapshot of the current state of all the services under management.
-