| 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 | Method and Description |
|---|---|
ImmutableListMultimap |
ImmutableListMultimap.Builder.build()
Returns a newly-created immutable list multimap.
|
static <K |
ImmutableListMultimap.copyOf(Multimap
Returns an immutable multimap containing the same mappings as
multimap.
|
<K> ImmutableListMultimap |
FluentIterable.index(Function
Creates an index
ImmutableListMultimap that contains the results of applying a specified function to each item in this
FluentIterable of values.
|
static <K |
Multimaps.index(Iterable
Creates an index
ImmutableListMultimap that contains the results of applying a specified function to each item in an
Iterable of values.
|
static <K |
Multimaps.index(Iterator
Creates an index
ImmutableListMultimap that contains the results of applying a specified function to each item in an
Iterator of values.
|
ImmutableListMultimap |
ImmutableListMultimap.inverse()
Returns an immutable multimap which is the inverse of this one.
|
static <K |
ImmutableListMultimap.of()
Returns the empty multimap.
|
static <K |
ImmutableListMultimap.of(K k1, V v1)
Returns an immutable multimap containing a single entry.
|
static <K |
ImmutableListMultimap.of(K k1, V v1, K k2, V v2)
Returns an immutable multimap containing the given entries, in order.
|
static <K |
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 |
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 |
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 |
Multimaps.unmodifiableListMultimap(ImmutableListMultimap
Deprecated.
no need to use this
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableListMultimap |
MediaType.parameters()
Returns a multimap containing the parameters of this media type.
|