Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableList<E>
A high-performance, immutable, random-access
List implementation. |
class |
ImmutableMultiset<E>
An immutable hash-based multiset.
|
class |
ImmutableSet<E>
A high-performance, immutable
Set with reliable, user-specified
iteration order. |
class |
ImmutableSortedSet<E>
An immutable
SortedSet that stores its elements in a sorted array. |
Modifier and Type | Method and Description |
---|---|
ImmutableCollection<Map.Entry<K,V>> |
ImmutableMultimap.entries()
Returns an immutable collection of all key-value pairs in the multimap.
|
abstract ImmutableCollection<V> |
ImmutableMultimap.get(K key)
Returns an immutable collection of the values for the given key.
|
ImmutableCollection<V> |
ImmutableMultimap.removeAll(Object key)
Guaranteed to throw an exception and leave the multimap unmodified.
|
ImmutableCollection<V> |
ImmutableMultimap.replaceValues(K key,
Iterable<? extends V> values)
Guaranteed to throw an exception and leave the multimap unmodified.
|
ImmutableCollection<V> |
ImmutableMultimap.values()
Returns an immutable collection of the values in this multimap.
|
ImmutableCollection<V> |
ImmutableSortedMap.values()
Returns an immutable collection of the values in this map, sorted by the
ordering of the corresponding keys.
|
abstract ImmutableCollection<V> |
ImmutableMap.values()
Returns an immutable collection of the values in this map.
|
Copyright © 2010-2012. All Rights Reserved.