|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ListMultimap | |
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
| Uses of ListMultimap in com.google.common.collect |
|---|
| Classes in com.google.common.collect that implement ListMultimap | |
|---|---|
class |
ArrayListMultimap<K,V>
Implementation of Multimap that uses an ArrayList to store
the values for a given key. |
class |
LinkedListMultimap<K,V>
An implementation of ListMultimap that supports deterministic
iteration order for both keys and values. |
| Methods in com.google.common.collect that return ListMultimap | ||
|---|---|---|
static
|
MapConstraints.constrainedListMultimap(ListMultimap<K,V> multimap,
MapConstraint<? super K,? super V> constraint)
Returns a constrained view of the specified list multimap, using the specified constraint. |
|
ListMultimap<K,V> |
ImmutableMultimapBuilder.getMultimap()
Returns a newly-created, immutable Multimap instance containing the keys and values that were specified using put and putAll. |
|
static
|
Multimaps.immutableMultimap()
Returns the immutable empty multimap. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1)
Returns a new immutable multimap containing the specified key-value pair. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.immutableMultimap(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns a new immutable multimap containing the specified key-value pairs. |
|
static
|
Multimaps.index(java.lang.Iterable<? extends V> values,
Function<? super V,? extends K> keyFunction)
Creates an index ListMultimap that contains the results of applying
a specified function to each item in an Iterable of values. |
|
static
|
Multimaps.newListMultimap(java.util.Map<K,java.util.Collection<V>> map,
Supplier<? extends java.util.List<V>> factory)
Creates a new ListMultimap that uses the provided map and factory. |
|
static
|
Multimaps.synchronizedListMultimap(ListMultimap<K,V> multimap)
Returns a synchronized (thread-safe) ListMultimap backed by the
specified multimap. |
|
static
|
Multimaps.unmodifiableListMultimap(ListMultimap<K,V> delegate)
Returns an unmodifiable view of the specified ListMultimap. |
|
| Methods in com.google.common.collect with parameters of type ListMultimap | ||
|---|---|---|
static
|
MapConstraints.constrainedListMultimap(ListMultimap<K,V> multimap,
MapConstraint<? super K,? super V> constraint)
Returns a constrained view of the specified list multimap, using the specified constraint. |
|
static
|
Multimaps.synchronizedListMultimap(ListMultimap<K,V> multimap)
Returns a synchronized (thread-safe) ListMultimap backed by the
specified multimap. |
|
static
|
Multimaps.unmodifiableListMultimap(ListMultimap<K,V> delegate)
Returns an unmodifiable view of the specified ListMultimap. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||