| 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 |
ImmutableCollection.Builder.build()
Returns a newly-created
ImmutableCollection of the appropriate type, containing the elements provided to this builder.
|
ImmutableCollection |
ImmutableMultimap.entries()
Returns an immutable collection of all key-value pairs in the multimap.
|
abstract ImmutableCollection |
ImmutableMultimap.get(K key)
Returns an immutable collection of the values for the given key.
|
ImmutableCollection |
ImmutableMultimap.removeAll(Object
Deprecated.
Unsupported operation.
|
ImmutableCollection |
ImmutableMultimap.replaceValues(K key, Iterable
Deprecated.
Unsupported operation.
|
abstract ImmutableCollection |
ImmutableSortedMap.values()
Returns an immutable collection of the values in this map, sorted by the ordering of the corresponding keys.
|
ImmutableCollection |
ImmutableMultimap.values()
Returns an immutable collection of the values in this multimap.
|
ImmutableCollection |
ImmutableMap.values()
Returns an immutable collection of the values in this map.
|
ImmutableCollection |
ImmutableTable.values()
|
| Modifier and Type | Method and Description |
|---|---|
static <E> Iterable |
Iterables.unmodifiableIterable(ImmutableCollection
Deprecated.
no need to use this
|