Uses of Interface
com.google.common.collect.ListMultimap
Packages that use ListMultimap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ListMultimap in com.google.common.collect
Classes in com.google.common.collect that implement ListMultimapModifier and TypeClassDescriptionfinal classArrayListMultimap<K extends @Nullable Object, V extends @Nullable Object>Implementation ofMultimapthat uses anArrayListto store the values for a given key.classForwardingListMultimap<K extends @Nullable Object, V extends @Nullable Object>A list multimap which forwards all its method calls to another list multimap.classAListMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.classLinkedListMultimap<K extends @Nullable Object, V extends @Nullable Object>An implementation ofListMultimapthat supports deterministic iteration order for both keys and values.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()static <K extends @Nullable Object, V extends @Nullable Object>
ListMultimap<K, V> Multimaps.filterKeys(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) Returns a multimap containing the mappings inunfilteredwhose keys satisfy a predicate.static <K extends @Nullable Object, V extends @Nullable Object>
ListMultimap<K, V> Multimaps.newListMultimap(Map<K, Collection<V>> map, Supplier<? extends List<V>> factory) Creates a newListMultimapthat uses the provided map and factory.static <K extends @Nullable Object, V extends @Nullable Object>
ListMultimap<K, V> Multimaps.synchronizedListMultimap(ListMultimap<K, V> multimap) Returns a synchronized (thread-safe)ListMultimapbacked by the specified multimap.static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
ListMultimap<K, V2> Multimaps.transformEntries(ListMultimap<K, V1> fromMap, Maps.EntryTransformer<? super K, ? super V1, V2> transformer) Returns a view of aListMultimapwhose values are derived from the original multimap's entries.static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
ListMultimap<K, V2> Multimaps.transformValues(ListMultimap<K, V1> fromMultimap, Function<? super V1, V2> function) Returns a view of aListMultimapwhere each value is transformed by a function.static <K,V> ListMultimap <K, V> Multimaps.unmodifiableListMultimap(ImmutableListMultimap<K, V> delegate) Deprecated.no need to use thisstatic <K extends @Nullable Object, V extends @Nullable Object>
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 extends @Nullable Object, V extends @Nullable Object>
ListMultimap<K, V> Multimaps.filterKeys(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) Returns a multimap containing the mappings inunfilteredwhose keys satisfy a predicate.static <K extends @Nullable Object, V extends @Nullable Object>
ListMultimap<K, V> Multimaps.synchronizedListMultimap(ListMultimap<K, V> multimap) Returns a synchronized (thread-safe)ListMultimapbacked by the specified multimap.static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
ListMultimap<K, V2> Multimaps.transformEntries(ListMultimap<K, V1> fromMap, Maps.EntryTransformer<? super K, ? super V1, V2> transformer) Returns a view of aListMultimapwhose values are derived from the original multimap's entries.static <K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object>
ListMultimap<K, V2> Multimaps.transformValues(ListMultimap<K, V1> fromMultimap, Function<? super V1, V2> function) Returns a view of aListMultimapwhere each value is transformed by a function.static <K extends @Nullable Object, V extends @Nullable Object>
ListMultimap<K, V> Multimaps.unmodifiableListMultimap(ListMultimap<K, V> delegate) Returns an unmodifiable view of the specifiedListMultimap.