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
List whose contents will never change, with many other important properties detailed at
ImmutableCollection . |
class |
ImmutableMultiset<E>
A
Multiset whose contents will never change, with many other important properties
detailed at ImmutableCollection . |
class |
ImmutableSet<E>
A
Set whose contents will never change, with many other important properties detailed at
ImmutableCollection . |
class |
ImmutableSortedMultiset<E>
A
SortedMultiset whose contents will never change, with many other important properties
detailed at ImmutableCollection . |
class |
ImmutableSortedSet<E>
A
NavigableSet whose contents will never change, with many other important properties
detailed at ImmutableCollection . |
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> |
ImmutableSortedMap.values()
Returns an immutable collection of the values in this map, sorted by the ordering of the
corresponding keys.
|
ImmutableCollection<V> |
ImmutableMultimap.values()
Returns an immutable collection of the values in this multimap.
|
ImmutableCollection<V> |
ImmutableTable.values() |
ImmutableCollection<V> |
ImmutableMap.values()
Returns an immutable collection of the values in this map, in the same order that they appear
in
ImmutableMap.entrySet . |
Modifier and Type | Method and Description |
---|---|
static <E> Iterable<E> |
Iterables.unmodifiableIterable(ImmutableCollection<E> iterable)
Deprecated.
no need to use this
|
Copyright © 2010–2019. All rights reserved.