Uses of Interface
com.google.common.collect.SetMultimap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of SetMultimap in com.google.common.collect
Modifier and TypeInterfaceDescriptioninterface
SortedSetMultimap<K extends @Nullable Object,
V extends @Nullable Object> ASetMultimap
whose set of values for a given key are kept sorted; that is, they comprise aSortedSet
.Modifier and TypeClassDescriptionclass
ForwardingSetMultimap<K extends @Nullable Object,
V extends @Nullable Object> A set multimap which forwards all its method calls to another set multimap.class
ForwardingSortedSetMultimap<K extends @Nullable Object,
V extends @Nullable Object> A sorted set multimap which forwards all its method calls to another sorted set multimap.final class
HashMultimap<K extends @Nullable Object,
V extends @Nullable Object> Implementation ofMultimap
using hash tables.class
ImmutableSetMultimap<K,
V> ASetMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.final class
LinkedHashMultimap<K extends @Nullable Object,
V extends @Nullable Object> Implementation ofMultimap
that does not allow duplicate key-value entries and that returns collections whose iterators follow the ordering in which the data was added to the multimap.class
TreeMultimap<K extends @Nullable Object,
V extends @Nullable Object> Implementation ofMultimap
whose keys and values are ordered by their natural ordering or by supplied comparators.Modifier and TypeMethodDescriptionabstract <K extends K0,
V extends V0>
SetMultimap<K, V> MultimapBuilder.SetMultimapBuilder.build()
<K extends K0,
V extends V0>
SetMultimap<K, V> protected abstract SetMultimap
<K, V> ForwardingSetMultimap.delegate()
static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.filterEntries
(SetMultimap<K, V> unfiltered, Predicate<? super Map.Entry<K, V>> entryPredicate) Returns a multimap containing the mappings inunfiltered
that satisfy a predicate.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.filterKeys
(SetMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) Returns a multimap containing the mappings inunfiltered
whose keys satisfy a predicate.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.filterValues
(SetMultimap<K, V> unfiltered, Predicate<? super V> valuePredicate) Returns a multimap containing the mappings inunfiltered
whose values satisfy a predicate.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Returns a multimap view of the specified map.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.newSetMultimap
(Map<K, Collection<V>> map, Supplier<? extends Set<V>> factory) Creates a newSetMultimap
that uses the provided map and factory.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.synchronizedSetMultimap
(SetMultimap<K, V> multimap) Returns a synchronized (thread-safe)SetMultimap
backed by the specified multimap.static <K,
V> SetMultimap <K, V> Multimaps.unmodifiableSetMultimap
(ImmutableSetMultimap<K, V> delegate) Deprecated.no need to use thisstatic <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.unmodifiableSetMultimap
(SetMultimap<K, V> delegate) Returns an unmodifiable view of the specifiedSetMultimap
.Modifier and TypeMethodDescriptionMultimaps.asMap
(SetMultimap<K, V> multimap) static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.filterEntries
(SetMultimap<K, V> unfiltered, Predicate<? super Map.Entry<K, V>> entryPredicate) Returns a multimap containing the mappings inunfiltered
that satisfy a predicate.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.filterKeys
(SetMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) Returns a multimap containing the mappings inunfiltered
whose keys satisfy a predicate.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.filterValues
(SetMultimap<K, V> unfiltered, Predicate<? super V> valuePredicate) Returns a multimap containing the mappings inunfiltered
whose values satisfy a predicate.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.synchronizedSetMultimap
(SetMultimap<K, V> multimap) Returns a synchronized (thread-safe)SetMultimap
backed by the specified multimap.static <K extends @Nullable Object,
V extends @Nullable Object>
SetMultimap<K, V> Multimaps.unmodifiableSetMultimap
(SetMultimap<K, V> delegate) Returns an unmodifiable view of the specifiedSetMultimap
.