| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableSetMultimap |
ImmutableMap.asMultimap()
Returns a multimap view of the map.
|
ImmutableSetMultimap |
ImmutableSetMultimap.Builder.build()
Returns a newly-created immutable set multimap.
|
static <K |
ImmutableSetMultimap.copyOf(Multimap
Returns an immutable set multimap containing the same mappings as
multimap.
|
ImmutableSetMultimap |
ImmutableSetMultimap.inverse()
Returns an immutable multimap which is the inverse of this one.
|
static <K |
ImmutableSetMultimap.of()
Returns the empty multimap.
|
static <K |
ImmutableSetMultimap.of(K k1, V v1)
Returns an immutable multimap containing a single entry.
|
static <K |
ImmutableSetMultimap.of(K k1, V v1, K k2, V v2)
Returns an immutable multimap containing the given entries, in order.
|
static <K |
ImmutableSetMultimap.of(K k1, V v1, K k2, V v2, K k3, V v3)
Returns an immutable multimap containing the given entries, in order.
|
static <K |
ImmutableSetMultimap.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 order.
|
static <K |
ImmutableSetMultimap.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 order.
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
Multimaps.unmodifiableSetMultimap(ImmutableSetMultimap
Deprecated.
no need to use this
|