Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.google.common.collect.ImmutableMap

Packages that use ImmutableMap
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.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.
`static
`<K,V> ImmutableMap<K,V>`
` | `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
`<K,V> ImmutableMap<K,V>`
` | `ImmutableMap.of()` Returns the empty map.
`static
`<K,V> ImmutableMap<K,V>`
` | `ImmutableMap.of(K k1, V v1)` Returns an immutable map containing a single entry.
`static
`<K,V> ImmutableMap<K,V>`
` | `ImmutableMap.of(K k1, V v1, K k2, V v2)` Returns an immutable map containing the given entries, in order.
`static
`<K,V> ImmutableMap<K,V>`
` | `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
`<K,V> ImmutableMap<K,V>`
` | `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
`<K,V> ImmutableMap<K,V>`
` | `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.
`static
`<K,V,I extends Object & Iterable<V> & Iterator<V>> ImmutableMap<K,V>`
` | `Maps.uniqueIndex(I values, Function<? super V,K> keyFunction)` Deprecated. use `Maps.uniqueIndex(Iterator, Function)` by casting `values` to `Iterator<V>`, or better yet, by implementing only `Iterator` and not `Iterable`. This method is scheduled for deletion in March 2012.
`static
`<K,V> ImmutableMap<K,V>`
` | `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
`<K,V> ImmutableMap<K,V>`
` | `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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2010-2011. All Rights Reserved.