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 |
ContiguousSet<C extends Comparable>
A sorted set of contiguous values in a given
DiscreteDomain . |
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 |
ImmutableSortedMultiset<E>
An immutable
SortedMultiset that stores its elements in a sorted array. |
class |
ImmutableSortedSet<E>
An immutable
SortedSet that stores its elements in a sorted array. |
Modifier and Type | Method and Description |
---|---|
abstract ImmutableCollection<E> |
ImmutableCollection.Builder.build()
Returns a newly-created
ImmutableCollection of the appropriate
type, containing the elements provided to this builder. |
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)
Deprecated.
Unsupported operation.
|
ImmutableCollection<V> |
ImmutableMultimap.replaceValues(K key,
Iterable<? extends V> values)
Deprecated.
Unsupported operation.
|
ImmutableCollection<V> |
ImmutableMap.values()
Returns an immutable collection of the values in this map.
|
ImmutableCollection<V> |
ImmutableMultimap.values()
Returns an immutable collection of the values in this multimap.
|
abstract ImmutableCollection<V> |
ImmutableSortedMap.values()
Returns an immutable collection of the values in this map, sorted by the
ordering of the corresponding keys.
|
ImmutableCollection<V> |
ImmutableTable.values() |
Modifier and Type | Method and Description |
---|---|
static <E> Iterable<E> |
Iterables.unmodifiableIterable(ImmutableCollection<E> iterable)
Deprecated.
no need to use this
|
Copyright © 2010-2013. All Rights Reserved.