Uses of Class
com.google.common.collect.ImmutableListMultimap
-
Packages that use ImmutableListMultimap 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).com.google.common.testing This package contains testing utilities. -
-
Uses of ImmutableListMultimap in com.google.common.collect
Subclasses of ImmutableListMultimap in com.google.common.collect Modifier and Type Class Description (package private) class
EmptyImmutableListMultimap
Implementation ofImmutableListMultimap
with no entries.Fields in com.google.common.collect declared as ImmutableListMultimap Modifier and Type Field Description private ImmutableListMultimap<V,K>
ImmutableListMultimap. inverse
Methods in com.google.common.collect that return ImmutableListMultimap Modifier and Type Method Description ImmutableListMultimap<K,V>
ImmutableListMultimap.Builder. build()
Returns a newly-created immutable list multimap.static <K,V>
ImmutableListMultimap<K,V>ImmutableListMultimap. copyOf(Multimap<? extends K,? extends V> multimap)
Returns an immutable multimap containing the same mappings asmultimap
.static <K,V>
ImmutableListMultimap<K,V>ImmutableListMultimap. 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>
ImmutableListMultimap<K,V>ImmutableListMultimap. 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 ImmutableListMultimap from an asMap.entrySet.<K> ImmutableListMultimap<K,E>
FluentIterable. index(Function<? super E,K> keyFunction)
Creates an indexImmutableListMultimap
that contains the results of applying a specified function to each item in thisFluentIterable
of values.static <K,V>
ImmutableListMultimap<K,V>Multimaps. index(java.lang.Iterable<V> values, Function<? super V,K> keyFunction)
Creates an indexImmutableListMultimap
that contains the results of applying a specified function to each item in anIterable
of values.static <K,V>
ImmutableListMultimap<K,V>Multimaps. index(java.util.Iterator<V> values, Function<? super V,K> keyFunction)
Creates an indexImmutableListMultimap
that contains the results of applying a specified function to each item in anIterator
of values.ImmutableListMultimap<V,K>
ImmutableListMultimap. inverse()
Returns an immutable multimap which is the inverse of this one.private ImmutableListMultimap<V,K>
ImmutableListMultimap. invert()
static <K,V>
ImmutableListMultimap<K,V>ImmutableListMultimap. of()
Returns the empty multimap.static <K,V>
ImmutableListMultimap<K,V>ImmutableListMultimap. of(K k1, V v1)
Returns an immutable multimap containing a single entry.static <K,V>
ImmutableListMultimap<K,V>ImmutableListMultimap. of(K k1, V v1, K k2, V v2)
Returns an immutable multimap containing the given entries, in order.static <K,V>
ImmutableListMultimap<K,V>ImmutableListMultimap. 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>
ImmutableListMultimap<K,V>ImmutableListMultimap. 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>
ImmutableListMultimap<K,V>ImmutableListMultimap. 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 ImmutableListMultimap Modifier and Type Method Description (package private) static <T,K,V>
java.util.stream.Collector<T,?,ImmutableListMultimap<K,V>>CollectCollectors. flatteningToImmutableListMultimap(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,?,ImmutableListMultimap<K,V>>ImmutableListMultimap. flatteningToImmutableListMultimap(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 anImmutableListMultimap
.(package private) static <T,K,V>
java.util.stream.Collector<T,?,ImmutableListMultimap<K,V>>CollectCollectors. toImmutableListMultimap(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,?,ImmutableListMultimap<K,V>>ImmutableListMultimap. toImmutableListMultimap(java.util.function.Function<? super T,? extends K> keyFunction, java.util.function.Function<? super T,? extends V> valueFunction)
Returns aCollector
that accumulates elements into anImmutableListMultimap
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 ImmutableListMultimap Modifier and Type Method Description static <K,V>
ListMultimap<K,V>Multimaps. unmodifiableListMultimap(ImmutableListMultimap<K,V> delegate)
Deprecated.no need to use this -
Uses of ImmutableListMultimap in com.google.common.net
Fields in com.google.common.net declared as ImmutableListMultimap Modifier and Type Field Description private ImmutableListMultimap<java.lang.String,java.lang.String>
MediaType. parameters
private static ImmutableListMultimap<java.lang.String,java.lang.String>
MediaType. UTF_8_CONSTANT_PARAMETERS
Methods in com.google.common.net that return ImmutableListMultimap Modifier and Type Method Description ImmutableListMultimap<java.lang.String,java.lang.String>
MediaType. parameters()
Returns a multimap containing the parameters of this media type.Constructors in com.google.common.net with parameters of type ImmutableListMultimap Constructor Description MediaType(java.lang.String type, java.lang.String subtype, ImmutableListMultimap<java.lang.String,java.lang.String> parameters)
-
Uses of ImmutableListMultimap in com.google.common.testing
Methods in com.google.common.testing that return ImmutableListMultimap Modifier and Type Method Description (package private) static <K,V>
ImmutableListMultimap<K,V>FreshValueGenerator. generateImmutableListMultimap(K key, V value)
-