Uses of Interface
com.google.common.collect.ListMultimap
-
Packages that use ListMultimap Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections.com.google.common.collect.testing.google com.google.common.testing This package contains testing utilities. -
-
Uses of ListMultimap in com.google.common.collect
Classes in com.google.common.collect that implement ListMultimap Modifier and Type Class Description (package private) class
AbstractListMultimap<K,V>
Basic implementation of theListMultimap
interface.class
ArrayListMultimap<K,V>
Implementation ofMultimap
that uses anArrayList
to store the values for a given key.(package private) class
EmptyImmutableListMultimap
Implementation ofImmutableListMultimap
with no entries.(package private) class
FilteredKeyListMultimap<K,V>
Implementation ofMultimaps.filterKeys(ListMultimap, Predicate)
.class
ForwardingListMultimap<K,V>
A list multimap which forwards all its method calls to another list multimap.class
ImmutableListMultimap<K,V>
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
MapConstraints.ConstrainedListMultimap<K,V>
Deprecated.private static class
Multimaps.CustomListMultimap<K,V>
private static class
Multimaps.TransformedEntriesListMultimap<K,V1,V2>
private static class
Multimaps.UnmodifiableListMultimap<K,V>
private static class
Synchronized.SynchronizedListMultimap<K,V>
Methods in com.google.common.collect that return ListMultimap Modifier and Type Method Description abstract <K extends K0,V extends V0>
ListMultimap<K,V>MultimapBuilder.ListMultimapBuilder. build()
<K extends K0,V extends V0>
ListMultimap<K,V>MultimapBuilder.ListMultimapBuilder. build(Multimap<? extends K,? extends V> multimap)
static <K,V>
ListMultimap<K,V>MapConstraints. constrainedListMultimap(ListMultimap<K,V> multimap, MapConstraint<? super K,? super V> constraint)
Deprecated.Returns a constrained view of the specified list multimap, using the specified constraint.protected abstract ListMultimap<K,V>
ForwardingListMultimap. delegate()
ListMultimap<K,V>
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, java.lang.Object mutex)
static <K,V>
ListMultimap<K,V>Multimaps. newListMultimap(java.util.Map<K,java.util.Collection<V>> map, Supplier<? extends java.util.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.ListMultimap<K,V>
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 ListMultimap Modifier and Type Method Description static <K,V>
java.util.Map<K,java.util.List<V>>Multimaps. asMap(ListMultimap<K,V> multimap)
static <K,V>
ListMultimap<K,V>MapConstraints. constrainedListMultimap(ListMultimap<K,V> multimap, MapConstraint<? super K,? super V> constraint)
Deprecated.Returns a constrained view of the specified list multimap, using the specified constraint.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, java.lang.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 ListMultimap Constructor Description ConstrainedListMultimap(ListMultimap<K,V> delegate, MapConstraint<? super K,? super V> constraint)
FilteredKeyListMultimap(ListMultimap<K,V> unfiltered, Predicate<? super K> keyPredicate)
SynchronizedListMultimap(ListMultimap<K,V> delegate, java.lang.Object mutex)
TransformedEntriesListMultimap(ListMultimap<K,V1> fromMultimap, Maps.EntryTransformer<? super K,? super V1,V2> transformer)
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 ListMultimap Modifier and Type Method Description ListMultimap<java.lang.String,java.lang.String>
TestStringListMultimapGenerator. create(java.lang.Object... entries)
protected abstract ListMultimap<java.lang.String,java.lang.String>
TestStringListMultimapGenerator. create(java.util.Map.Entry<java.lang.String,java.lang.String>[] entries)
Method parameters in com.google.common.collect.testing.google with type arguments of type ListMultimap Modifier and Type Method Description (package private) junit.framework.TestSuite
ListMultimapTestSuiteBuilder. computeMultimapAsMapGetTestSuite(FeatureSpecificTestSuiteBuilder<?,? extends OneSizeTestContainerGenerator<ListMultimap<K,V>,java.util.Map.Entry<K,V>>> parentBuilder)
(package private) junit.framework.TestSuite
ListMultimapTestSuiteBuilder. computeMultimapGetTestSuite(FeatureSpecificTestSuiteBuilder<?,? extends OneSizeTestContainerGenerator<ListMultimap<K,V>,java.util.Map.Entry<K,V>>> parentBuilder)
Constructor parameters in com.google.common.collect.testing.google with type arguments of type ListMultimap Constructor Description MultimapAsMapGetGenerator(OneSizeTestContainerGenerator<ListMultimap<K,V>,java.util.Map.Entry<K,V>> multimapGenerator)
MultimapGetGenerator(OneSizeTestContainerGenerator<ListMultimap<K,V>,java.util.Map.Entry<K,V>> multimapGenerator)
-
Uses of ListMultimap in com.google.common.testing
Fields in com.google.common.testing declared as ListMultimap Modifier and Type Field Description private ListMultimap<java.lang.Class<?>,java.lang.Object>
ClassSanityTester. distinctValues
private ListMultimap<java.lang.Class<?>,java.lang.Object>
FreshValueGenerator. sampleInstances
Methods in com.google.common.testing that return ListMultimap Modifier and Type Method Description private static <K,V>
ListMultimap<K,V>FreshValueGenerator. generateListMultimap(K key, V value)
-