Uses of Interface
com.google.common.collect.SetMultimap
-
Packages that use SetMultimap Package Description com.google.common.collect Collection interfaces and implementations, and other utilities for collections. -
-
Uses of SetMultimap in com.google.common.collect
Subinterfaces of SetMultimap in com.google.common.collect Modifier and Type Interface Description interfaceSortedSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>ASetMultimapwhose set of values for a given key are kept sorted; that is, they comprise aSortedSet.Classes in com.google.common.collect that implement SetMultimap Modifier and Type Class Description classForwardingSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A set multimap which forwards all its method calls to another set multimap.classForwardingSortedSetMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>A sorted set multimap which forwards all its method calls to another sorted set multimap.classHashMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>Implementation ofMultimapusing hash tables.classImmutableSetMultimap<K,V>ASetMultimapwhose contents will never change, with many other important properties detailed atImmutableCollection.classLinkedHashMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>Implementation ofMultimapthat 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.classTreeMultimap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>Implementation ofMultimapwhose keys and values are ordered by their natural ordering or by supplied comparators.Methods in com.google.common.collect that return SetMultimap Modifier and Type Method Description abstract <K extends K0,V extends V0>
SetMultimap<K,V>MultimapBuilder.SetMultimapBuilder. build()<K extends K0,V extends V0>
SetMultimap<K,V>MultimapBuilder.SetMultimapBuilder. build(Multimap<? extends K,? extends V> multimap)protected abstract SetMultimap<K,V>ForwardingSetMultimap. delegate()static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. filterEntries(SetMultimap<K,V> unfiltered, Predicate<? super java.util.Map.Entry<K,V>> entryPredicate)Returns a multimap containing the mappings inunfilteredthat satisfy a predicate.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. filterKeys(SetMultimap<K,V> unfiltered, Predicate<? super K> keyPredicate)Returns a multimap containing the mappings inunfilteredwhose keys satisfy a predicate.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. filterValues(SetMultimap<K,V> unfiltered, Predicate<? super V> valuePredicate)Returns a multimap containing the mappings inunfilteredwhose values satisfy a predicate.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. forMap(java.util.Map<K,V> map)Returns a multimap view of the specified map.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. newSetMultimap(java.util.Map<K,java.util.Collection<V>> map, Supplier<? extends java.util.Set<V>> factory)Creates a newSetMultimapthat uses the provided map and factory.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. synchronizedSetMultimap(SetMultimap<K,V> multimap)Returns a synchronized (thread-safe)SetMultimapbacked 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 java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. unmodifiableSetMultimap(SetMultimap<K,V> delegate)Returns an unmodifiable view of the specifiedSetMultimap.Methods in com.google.common.collect with parameters of type SetMultimap Modifier and Type Method Description static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
java.util.Map<K,java.util.Set<V>>Multimaps. asMap(SetMultimap<K,V> multimap)static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. filterEntries(SetMultimap<K,V> unfiltered, Predicate<? super java.util.Map.Entry<K,V>> entryPredicate)Returns a multimap containing the mappings inunfilteredthat satisfy a predicate.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. filterKeys(SetMultimap<K,V> unfiltered, Predicate<? super K> keyPredicate)Returns a multimap containing the mappings inunfilteredwhose keys satisfy a predicate.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. filterValues(SetMultimap<K,V> unfiltered, Predicate<? super V> valuePredicate)Returns a multimap containing the mappings inunfilteredwhose values satisfy a predicate.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. synchronizedSetMultimap(SetMultimap<K,V> multimap)Returns a synchronized (thread-safe)SetMultimapbacked by the specified multimap.static <K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
SetMultimap<K,V>Multimaps. unmodifiableSetMultimap(SetMultimap<K,V> delegate)Returns an unmodifiable view of the specifiedSetMultimap.
-