Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
com.google.common.testing |
This package contains testing utilities.
|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
ContiguousSet<C extends java.lang.Comparable>
A sorted set of contiguous values in a given
DiscreteDomain . |
(package private) class |
DescendingImmutableSortedMultiset<E>
A descending wrapper around an
ImmutableSortedMultiset |
(package private) class |
DescendingImmutableSortedSet<E>
Skeletal implementation of
ImmutableSortedSet.descendingSet() . |
(package private) class |
EmptyContiguousSet<C extends java.lang.Comparable>
An empty contiguous set.
|
(package private) class |
ImmutableAsList<E>
List returned by
asList() that delegates contains checks
to the backing collection. |
(package private) class |
ImmutableEnumSet<E extends java.lang.Enum<E>>
Implementation of
ImmutableSet backed by a non-empty EnumSet . |
class |
ImmutableList<E>
A
List whose contents will never change, with many other important properties detailed at
ImmutableCollection . |
private static class |
ImmutableList.ReverseImmutableList<E> |
(package private) class |
ImmutableList.SubList |
(package private) class |
ImmutableMapEntrySet<K,V>
entrySet() implementation for ImmutableMap . |
(package private) static class |
ImmutableMapEntrySet.RegularEntrySet<K,V> |
(package private) class |
ImmutableMapKeySet<K,V>
keySet() implementation for ImmutableMap . |
(package private) class |
ImmutableMapValues<K,V>
values() implementation for ImmutableMap . |
private static class |
ImmutableMultimap.EntryCollection<K,V> |
(package private) class |
ImmutableMultimap.Keys |
private static class |
ImmutableMultimap.Values<K,V> |
class |
ImmutableMultiset<E>
A
Multiset whose contents will never change, with many other important properties
detailed at ImmutableCollection . |
private class |
ImmutableMultiset.EntrySet |
private class |
ImmutableRangeSet.AsSet |
private class |
ImmutableRangeSet.ComplementRanges |
class |
ImmutableSet<E>
A
Set whose contents will never change, with many other important properties detailed at
ImmutableCollection . |
(package private) static class |
ImmutableSet.Indexed<E> |
private static class |
ImmutableSetMultimap.EntrySet<K,V> |
(package private) class |
ImmutableSortedAsList<E>
List returned by
ImmutableSortedSet.asList() when the set isn't empty. |
class |
ImmutableSortedMultiset<E>
A
SortedMultiset whose contents will never change, with many other important properties
detailed at ImmutableCollection . |
(package private) class |
ImmutableSortedMultisetFauxverideShim<E>
"Overrides" the
ImmutableMultiset static methods that lack
ImmutableSortedMultiset equivalents with deprecated, exception-throwing versions. |
class |
ImmutableSortedSet<E>
A
NavigableSet whose contents will never change, with many other important properties
detailed at ImmutableCollection . |
(package private) class |
ImmutableSortedSetFauxverideShim<E>
"Overrides" the
ImmutableSet static methods that lack
ImmutableSortedSet equivalents with deprecated, exception-throwing
versions. |
private static class |
Lists.StringAsImmutableList |
(package private) class |
RegularContiguousSet<C extends java.lang.Comparable>
An implementation of
ContiguousSet that contains one or more elements. |
(package private) class |
RegularImmutableAsList<E>
An
ImmutableAsList implementation specialized for when the delegate collection is
already backed by an ImmutableList or array. |
(package private) class |
RegularImmutableBiMap.Inverse.InverseEntrySet |
(package private) class |
RegularImmutableList<E>
Implementation of
ImmutableList used for 0 or 2+ elements (not 1). |
private static class |
RegularImmutableMap.KeySet<K,V> |
private static class |
RegularImmutableMap.Values<K,V> |
(package private) class |
RegularImmutableMultiset<E>
Implementation of
ImmutableMultiset with zero or more elements. |
private class |
RegularImmutableMultiset.ElementSet |
(package private) class |
RegularImmutableSet<E>
Implementation of
ImmutableSet with two or more elements. |
(package private) class |
RegularImmutableSortedMultiset<E>
An immutable sorted multiset with one or more distinct elements.
|
(package private) class |
RegularImmutableSortedSet<E>
An immutable sorted set with one or more elements.
|
private class |
RegularImmutableTable.CellSet |
private class |
RegularImmutableTable.Values |
(package private) class |
SingletonImmutableList<E>
Implementation of
ImmutableList with exactly one element. |
(package private) class |
SingletonImmutableSet<E>
Implementation of
ImmutableSet with exactly one element. |
Modifier and Type | Field and Description |
---|---|
(package private) ImmutableCollection<?> |
ImmutableAsList.SerializedForm.collection |
private ImmutableCollection<E> |
RegularImmutableAsList.delegate |
private ImmutableCollection<V> |
ImmutableMap.values |
Modifier and Type | Field and Description |
---|---|
(package private) ImmutableMap<K,? extends ImmutableCollection<V>> |
ImmutableMultimap.map |
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. |
(package private) ImmutableCollection<java.util.Map.Entry<K,V>> |
ImmutableMultimap.createEntries() |
(package private) ImmutableCollection<V> |
RegularImmutableMap.createValues() |
(package private) ImmutableCollection<V> |
RegularImmutableTable.createValues() |
(package private) ImmutableCollection<V> |
ImmutableMultimap.createValues() |
(package private) abstract ImmutableCollection<V> |
ImmutableTable.createValues() |
(package private) ImmutableCollection<V> |
SingletonImmutableTable.createValues() |
(package private) ImmutableCollection<V> |
ImmutableMap.createValues() |
(package private) abstract ImmutableCollection<E> |
ImmutableAsList.delegateCollection() |
(package private) ImmutableCollection<E> |
RegularImmutableAsList.delegateCollection() |
ImmutableCollection<java.util.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(java.lang.Object key)
Deprecated.
Unsupported operation.
|
ImmutableCollection<V> |
ImmutableMultimap.replaceValues(K key,
java.lang.Iterable<? extends V> values)
Deprecated.
Unsupported operation.
|
ImmutableCollection<V> |
ImmutableMultimap.values()
Returns an immutable collection of the values in this multimap.
|
ImmutableCollection<V> |
ImmutableTable.values() |
ImmutableCollection<V> |
ImmutableSortedMap.values()
Returns an immutable collection of the values in this map, sorted by the
ordering of the corresponding keys.
|
ImmutableCollection<V> |
ImmutableMap.values()
Returns an immutable collection of the values in this map.
|
Modifier and Type | Method and Description |
---|---|
static <E> java.lang.Iterable<E> |
Iterables.unmodifiableIterable(ImmutableCollection<E> iterable)
Deprecated.
no need to use this
|
Constructor and Description |
---|
RegularImmutableAsList(ImmutableCollection<E> delegate,
ImmutableList<? extends E> delegateList) |
RegularImmutableAsList(ImmutableCollection<E> delegate,
java.lang.Object[] array) |
SerializedForm(ImmutableCollection<?> collection) |
Constructor and Description |
---|
ImmutableMultimap(ImmutableMap<K,? extends ImmutableCollection<V>> map,
int size) |
Modifier and Type | Method and Description |
---|---|
private static <E> ImmutableCollection<E> |
FreshValueGenerator.generateImmutableCollection(E freshElement) |
Modifier and Type | Field and Description |
---|---|
private ImmutableCollection<? extends ListenableFuture<? extends InputT>> |
AggregateFuture.RunningState.futures |
Constructor and Description |
---|
CollectionFutureRunningState(ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
boolean allMustSucceed) |
CombinedFuture(ImmutableCollection<? extends ListenableFuture<?>> futures,
boolean allMustSucceed,
java.util.concurrent.Executor listenerExecutor,
AsyncCallable<V> callable) |
CombinedFuture(ImmutableCollection<? extends ListenableFuture<?>> futures,
boolean allMustSucceed,
java.util.concurrent.Executor listenerExecutor,
java.util.concurrent.Callable<V> callable) |
CombinedFutureRunningState(ImmutableCollection<? extends ListenableFuture<? extends java.lang.Object>> futures,
boolean allMustSucceed,
CombinedFuture.CombinedFutureInterruptibleTask task) |
ListFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
boolean allMustSucceed) |
ListFutureRunningState(ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
boolean allMustSucceed) |
RunningState(ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures,
boolean allMustSucceed,
boolean collectsValues) |
ServiceManagerState(ImmutableCollection<Service> services)
It is implicitly assumed that all the services are NEW and that they will all remain NEW
until all the Listeners are installed and
ServiceManager.ServiceManagerState.markReady() is called. |