Uses of Class
com.google.common.collect.ImmutableMultimap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableMultimap in com.google.common.collect
Modifier and TypeClassDescriptionclass
AListMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSetMultimap<K,
V> ASetMultimap
whose contents will never change, with many other important properties detailed atImmutableCollection
.Modifier and TypeMethodDescriptionImmutableMultimap.Builder.build()
Returns a newly-created immutable multimap.static <K,
V> ImmutableMultimap <K, V> Returns an immutable multimap containing the same mappings asmultimap
, in the "key-grouped" iteration order described in the class documentation.static <K,
V> ImmutableMultimap <K, V> Returns an immutable multimap containing the specified entries.abstract ImmutableMultimap
<V, K> ImmutableMultimap.inverse()
Returns an immutable multimap which is the inverse of this one.static <K,
V> ImmutableMultimap <K, V> ImmutableMultimap.of()
Returns an empty multimap.static <K,
V> ImmutableMultimap <K, V> ImmutableMultimap.of
(K k1, V v1) Returns an immutable multimap containing a single entry.static <K,
V> ImmutableMultimap <K, V> ImmutableMultimap.of
(K k1, V v1, K k2, V v2) Returns an immutable multimap containing the given entries, in order.static <K,
V> ImmutableMultimap <K, V> ImmutableMultimap.of
(K k1, V v1, K k2, V v2, K k3, V v3) Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.static <K,
V> ImmutableMultimap <K, V> ImmutableMultimap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.static <K,
V> ImmutableMultimap <K, V> ImmutableMultimap.of
(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5) Returns an immutable multimap containing the given entries, in the "key-grouped" insertion order described in the class documentation.Modifier and TypeMethodDescriptionstatic <K,
V> Multimap <K, V> Multimaps.unmodifiableMultimap
(ImmutableMultimap<K, V> delegate) Deprecated.no need to use this