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 |
EmptyImmutableListMultimap
Implementation of
ImmutableListMultimap with no entries. |
Modifier and Type | Field and Description |
---|---|
private ImmutableListMultimap<V,K> |
ImmutableListMultimap.inverse |
Modifier and Type | Method and 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 as
multimap . |
<K> ImmutableListMultimap<K,E> |
FluentIterable.index(Function<? super E,K> keyFunction)
Creates an index
ImmutableListMultimap that contains the results of applying a
specified function to each item in this FluentIterable of values. |
static <K,V> ImmutableListMultimap<K,V> |
Multimaps.index(java.lang.Iterable<V> values,
Function<? super V,K> keyFunction)
Creates an index
ImmutableListMultimap that contains the results of
applying a specified function to each item in an Iterable of
values. |
static <K,V> ImmutableListMultimap<K,V> |
Multimaps.index(java.util.Iterator<V> values,
Function<? super V,K> keyFunction)
Creates an index
ImmutableListMultimap that contains the results of
applying a specified function to each item in an Iterator 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.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> ListMultimap<K,V> |
Multimaps.unmodifiableListMultimap(ImmutableListMultimap<K,V> delegate)
Deprecated.
no need to use this
|
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
ImmutableListMultimap<java.lang.String,java.lang.String> |
MediaType.parameters()
Returns a multimap containing the parameters of this media type.
|
Constructor and Description |
---|
MediaType(java.lang.String type,
java.lang.String subtype,
ImmutableListMultimap<java.lang.String,java.lang.String> parameters) |