| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayListMultimap<K
Implementation of
Multimap that uses an
ArrayList to store the values for a given key.
|
class |
ForwardingListMultimap<K
A list multimap which forwards all its method calls to another list multimap.
|
class |
ImmutableListMultimap<K
A
ListMultimap whose contents will never change, with many other important properties detailed at
ImmutableCollection.
|
class |
LinkedListMultimap<K
An implementation of
ListMultimap that supports deterministic iteration order for both keys and values.
|
| Modifier and Type | Method and Description |
|---|---|
abstract <K extends K0 |
MultimapBuilder.ListMultimapBuilder.build()
|
<K extends K0 |
MultimapBuilder.ListMultimapBuilder.build(Multimap
|
static <K |
MapConstraints.constrainedListMultimap(ListMultimap
Deprecated.
Returns a constrained view of the specified list multimap, using the specified constraint.
|
protected abstract ListMultimap |
ForwardingListMultimap.delegate()
|
static <K |
Multimaps.filterKeys(ListMultimap
Returns a multimap containing the mappings in
unfiltered whose keys satisfy a predicate.
|
static <K |
Multimaps.newListMultimap(Map
Creates a new
ListMultimap that uses the provided map and factory.
|
static <K |
Multimaps.synchronizedListMultimap(ListMultimap
Returns a synchronized (thread-safe)
ListMultimap backed by the specified multimap.
|
static <K |
Multimaps.transformEntries(ListMultimap
Returns a view of a
ListMultimap whose values are derived from the original multimap's entries.
|
static <K |
Multimaps.transformValues(ListMultimap
Returns a view of a
ListMultimap where each value is transformed by a function.
|
static <K |
Multimaps.unmodifiableListMultimap(ImmutableListMultimap
Deprecated.
no need to use this
|
static <K |
Multimaps.unmodifiableListMultimap(ListMultimap
Returns an unmodifiable view of the specified
ListMultimap.
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
Multimaps.asMap(ListMultimap
|
static <K |
MapConstraints.constrainedListMultimap(ListMultimap
Deprecated.
Returns a constrained view of the specified list multimap, using the specified constraint.
|
static <K |
Multimaps.filterKeys(ListMultimap
Returns a multimap containing the mappings in
unfiltered whose keys satisfy a predicate.
|
static <K |
Multimaps.synchronizedListMultimap(ListMultimap
Returns a synchronized (thread-safe)
ListMultimap backed by the specified multimap.
|
static <K |
Multimaps.transformEntries(ListMultimap
Returns a view of a
ListMultimap whose values are derived from the original multimap's entries.
|
static <K |
Multimaps.transformValues(ListMultimap
Returns a view of a
ListMultimap where each value is transformed by a function.
|
static <K |
Multimaps.unmodifiableListMultimap(ListMultimap
Returns an unmodifiable view of the specified
ListMultimap.
|