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<K,V> |
ImmutableMap.asMultimap()
Returns a multimap view of the map.
|
ImmutableSetMultimap<K,V> |
ImmutableSetMultimap.Builder.build()
Returns a newly-created immutable set multimap.
|
static <K,V> ImmutableSetMultimap<K,V> |
ImmutableSetMultimap.copyOf(Iterable<? extends Map.Entry<? extends K,? extends V>> entries)
Returns an immutable multimap containing the specified entries.
|
static <K,V> ImmutableSetMultimap<K,V> |
ImmutableSetMultimap.copyOf(Multimap<? extends K,? extends V> multimap)
Returns an immutable set multimap containing the same mappings as
multimap . |
ImmutableSetMultimap<V,K> |
ImmutableSetMultimap.inverse()
Returns an immutable multimap which is the inverse of this one.
|
static <K,V> ImmutableSetMultimap<K,V> |
ImmutableSetMultimap.of()
Returns the empty multimap.
|
static <K,V> ImmutableSetMultimap<K,V> |
ImmutableSetMultimap.of(K k1,
V v1)
Returns an immutable multimap containing a single entry.
|
static <K,V> ImmutableSetMultimap<K,V> |
ImmutableSetMultimap.of(K k1,
V v1,
K k2,
V v2)
Returns an immutable multimap containing the given entries, in order.
|
static <K,V> ImmutableSetMultimap<K,V> |
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,V> ImmutableSetMultimap<K,V> |
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,V> ImmutableSetMultimap<K,V> |
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,V> SetMultimap<K,V> |
Multimaps.unmodifiableSetMultimap(ImmutableSetMultimap<K,V> delegate)
Deprecated.
no need to use this
|
Copyright © 2010–2017. All rights reserved.