|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ImmutableMap | |
---|---|
com.google.common.cache | This package contains caching utilities. |
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of ImmutableMap in com.google.common.cache |
---|
Methods in com.google.common.cache that return ImmutableMap | |
---|---|
ImmutableMap<K,V> |
AbstractLoadingCache.getAll(Iterable<? extends K> keys)
|
ImmutableMap<K,V> |
ForwardingLoadingCache.getAll(Iterable<? extends K> keys)
|
ImmutableMap<K,V> |
LoadingCache.getAll(Iterable<? extends K> keys)
Returns a map of the values associated with keys , creating or retrieving those values
if necessary. |
ImmutableMap<K,V> |
AbstractCache.getAllPresent(Iterable<?> keys)
This implementation of getAllPresent lacks any insight into the internal cache data
structure, and is thus forced to return the query keys instead of the cached keys. |
ImmutableMap<K,V> |
Cache.getAllPresent(Iterable<?> keys)
Returns a map of the values associated with keys in this cache. |
ImmutableMap<K,V> |
ForwardingCache.getAllPresent(Iterable<?> keys)
|
Uses of ImmutableMap in com.google.common.collect |
---|
Subclasses of ImmutableMap in com.google.common.collect | |
---|---|
class |
ImmutableBiMap<K,V>
An immutable BiMap with reliable user-specified iteration order. |
class |
ImmutableSortedMap<K,V>
An immutable SortedMap . |
Methods in com.google.common.collect that return ImmutableMap | ||
---|---|---|
ImmutableMap<K,Collection<V>> |
ImmutableMultimap.asMap()
Returns an immutable map that associates each key with its corresponding values in the multimap. |
|
ImmutableMap<K,V> |
ImmutableMap.Builder.build()
Returns a newly-created immutable map. |
|
abstract ImmutableMap<R,V> |
ImmutableTable.column(C columnKey)
Returns a view of all mappings that have the given column key. |
|
abstract ImmutableMap<C,Map<R,V>> |
ImmutableTable.columnMap()
Returns a view that associates each column key with the corresponding map from row keys to values. |
|
static
|
ImmutableMap.copyOf(Map<? extends K,? extends V> map)
Returns an immutable map containing the same entries as map . |
|
static ImmutableMap<String,String> |
Maps.fromProperties(Properties properties)
Creates an ImmutableMap<String, String> from a Properties
instance. |
|
static
|
ImmutableMap.of()
Returns the empty map. |
|
static
|
ImmutableMap.of(K k1,
V v1)
Returns an immutable map containing a single entry. |
|
static
|
ImmutableMap.of(K k1,
V v1,
K k2,
V v2)
Returns an immutable map containing the given entries, in order. |
|
static
|
ImmutableMap.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3)
Returns an immutable map containing the given entries, in order. |
|
static
|
ImmutableMap.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4)
Returns an immutable map containing the given entries, in order. |
|
static
|
ImmutableMap.of(K k1,
V v1,
K k2,
V v2,
K k3,
V v3,
K k4,
V v4,
K k5,
V v5)
Returns an immutable map containing the given entries, in order. |
|
abstract ImmutableMap<C,V> |
ImmutableTable.row(R rowKey)
Returns a view of all mappings that have the given row key. |
|
abstract ImmutableMap<R,Map<C,V>> |
ImmutableTable.rowMap()
Returns a view that associates each row key with the corresponding map from column keys to values. |
|
static
|
Maps.uniqueIndex(Iterable<V> values,
Function<? super V,K> keyFunction)
Returns an immutable map for which the Map.values() are the given
elements in the given order, and each key is the product of invoking a
supplied function on its corresponding value. |
|
static
|
Maps.uniqueIndex(Iterator<V> values,
Function<? super V,K> keyFunction)
Returns an immutable map for which the Map.values() are the given
elements in the given order, and each key is the product of invoking a
supplied function on its corresponding value. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |