Uses of Interface
com.google.common.collect.ListMultimap
Packages that use ListMultimap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Testing utilities.
-
Uses of ListMultimap in com.google.common.collect
Classes in com.google.common.collect that implement ListMultimapModifier and TypeClassDescription(package private) class
AbstractListMultimap<K,
V> Basic implementation of theListMultimap
interface.final class
ArrayListMultimap<K,
V> Implementation ofMultimap
that uses anArrayList
to store the values for a given key.(package private) class
A dummy superclass to support GWT serialization of the element types of anArrayListMultimap
.(package private) class
Implementation ofImmutableListMultimap
with no entries.(package private) final class
Implementation ofMultimaps.filterKeys(ListMultimap, Predicate)
.class
A list multimap which forwards all its method calls to another list multimap.class
AListMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
LinkedListMultimap<K,
V> An implementation ofListMultimap
that supports deterministic iteration order for both keys and values.private static class
private static final class
private static class
(package private) static final class
Methods in com.google.common.collect that return ListMultimapModifier and TypeMethodDescriptionabstract <K extends K0,
V extends V0>
ListMultimap<K, V> MultimapBuilder.ListMultimapBuilder.build()
<K extends K0,
V extends V0>
ListMultimap<K, V> protected abstract ListMultimap
<K, V> ForwardingListMultimap.delegate()
Multimaps.UnmodifiableListMultimap.delegate()
(package private) ListMultimap
<K, V> Synchronized.SynchronizedListMultimap.delegate()
static <K,
V> ListMultimap <K, V> Multimaps.filterKeys
(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) Returns a multimap containing the mappings inunfiltered
whose keys satisfy a predicate.(package private) static <K,
V> ListMultimap <K, V> Synchronized.listMultimap
(ListMultimap<K, V> multimap, Object mutex) static <K,
V> ListMultimap <K, V> Multimaps.newListMultimap
(Map<K, Collection<V>> map, Supplier<? extends List<V>> factory) Creates a newListMultimap
that uses the provided map and factory.static <K,
V> ListMultimap <K, V> Multimaps.synchronizedListMultimap
(ListMultimap<K, V> multimap) Returns a synchronized (thread-safe)ListMultimap
backed by the specified multimap.static <K,
V1, V2>
ListMultimap<K, V2> Multimaps.transformEntries
(ListMultimap<K, V1> fromMap, Maps.EntryTransformer<? super K, ? super V1, V2> transformer) Returns a view of aListMultimap
whose values are derived from the original multimap's entries.static <K,
V1, V2>
ListMultimap<K, V2> Multimaps.transformValues
(ListMultimap<K, V1> fromMultimap, Function<? super V1, V2> function) Returns a view of aListMultimap
where each value is transformed by a function.FilteredKeyListMultimap.unfiltered()
static <K,
V> ListMultimap <K, V> Multimaps.unmodifiableListMultimap
(ImmutableListMultimap<K, V> delegate) Deprecated.no need to use thisstatic <K,
V> ListMultimap <K, V> Multimaps.unmodifiableListMultimap
(ListMultimap<K, V> delegate) Returns an unmodifiable view of the specifiedListMultimap
.Methods in com.google.common.collect with parameters of type ListMultimapModifier and TypeMethodDescriptionMultimaps.asMap
(ListMultimap<K, V> multimap) static <K,
V> ListMultimap <K, V> Multimaps.filterKeys
(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) Returns a multimap containing the mappings inunfiltered
whose keys satisfy a predicate.(package private) static <K,
V> ListMultimap <K, V> Synchronized.listMultimap
(ListMultimap<K, V> multimap, Object mutex) static <K,
V> ListMultimap <K, V> Multimaps.synchronizedListMultimap
(ListMultimap<K, V> multimap) Returns a synchronized (thread-safe)ListMultimap
backed by the specified multimap.static <K,
V1, V2>
ListMultimap<K, V2> Multimaps.transformEntries
(ListMultimap<K, V1> fromMap, Maps.EntryTransformer<? super K, ? super V1, V2> transformer) Returns a view of aListMultimap
whose values are derived from the original multimap's entries.static <K,
V1, V2>
ListMultimap<K, V2> Multimaps.transformValues
(ListMultimap<K, V1> fromMultimap, Function<? super V1, V2> function) Returns a view of aListMultimap
where each value is transformed by a function.static <K,
V> ListMultimap <K, V> Multimaps.unmodifiableListMultimap
(ListMultimap<K, V> delegate) Returns an unmodifiable view of the specifiedListMultimap
.Constructors in com.google.common.collect with parameters of type ListMultimapModifierConstructorDescription(package private)
FilteredKeyListMultimap
(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) (package private)
SynchronizedListMultimap
(ListMultimap<K, V> delegate, Object mutex) (package private)
TransformedEntriesListMultimap
(ListMultimap<K, V1> fromMultimap, Maps.EntryTransformer<? super K, ? super V1, V2> transformer) (package private)
UnmodifiableListMultimap
(ListMultimap<K, V> delegate) -
Uses of ListMultimap in com.google.common.collect.testing.google
Methods in com.google.common.collect.testing.google that return ListMultimapModifier and TypeMethodDescriptionfinal ListMultimap
<String, String> protected abstract ListMultimap
<String, String> Method parameters in com.google.common.collect.testing.google with type arguments of type ListMultimapModifier and TypeMethodDescription(package private) junit.framework.TestSuite
ListMultimapTestSuiteBuilder.computeMultimapAsMapGetTestSuite
(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<ListMultimap<K, V>, Map.Entry<K, V>>> parentBuilder) (package private) junit.framework.TestSuite
ListMultimapTestSuiteBuilder.computeMultimapGetTestSuite
(FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<ListMultimap<K, V>, Map.Entry<K, V>>> parentBuilder) Constructor parameters in com.google.common.collect.testing.google with type arguments of type ListMultimapModifierConstructorDescriptionMultimapAsMapGetGenerator
(OneSizeTestContainerGenerator<ListMultimap<K, V>, Map.Entry<K, V>> multimapGenerator) MultimapGetGenerator
(OneSizeTestContainerGenerator<ListMultimap<K, V>, Map.Entry<K, V>> multimapGenerator) -
Uses of ListMultimap in com.google.common.testing
Fields in com.google.common.testing declared as ListMultimapModifier and TypeFieldDescriptionprivate final ListMultimap
<Class<?>, Object> ClassSanityTester.distinctValues
private final ListMultimap
<Class<?>, Object> FreshValueGenerator.sampleInstances
Methods in com.google.common.testing that return ListMultimapModifier and TypeMethodDescription(package private) static <K,
V> ListMultimap <K, V> FreshValueGenerator.generateListMultimap
(K key, V value)