Uses of Class
com.google.common.collect.ImmutableCollection
-
Packages that use ImmutableCollection 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. -
-
Uses of ImmutableCollection in com.google.common.collect
Subclasses of ImmutableCollection in com.google.common.collect Modifier and Type Class Description class
ContiguousSet<C extends java.lang.Comparable>
A sorted set of contiguous values in a givenDiscreteDomain
.(package private) class
DescendingImmutableSortedMultiset<E>
A descending wrapper around anImmutableSortedMultiset
(package private) class
DescendingImmutableSortedSet<E>
Skeletal implementation ofImmutableSortedSet.descendingSet()
.(package private) class
EmptyContiguousSet<C extends java.lang.Comparable>
An empty contiguous set.(package private) class
ImmutableAsList<E>
List returned byasList()
that delegatescontains
checks to the backing collection.(package private) class
ImmutableEnumSet<E extends java.lang.Enum<E>>
Implementation ofImmutableSet
backed by a non-emptyEnumSet
.class
ImmutableList<E>
AList
whose contents will never change, with many other important properties detailed atImmutableCollection
.private static class
ImmutableList.ReverseImmutableList<E>
(package private) class
ImmutableList.SubList
(package private) class
ImmutableMapEntrySet<K,V>
entrySet()
implementation forImmutableMap
.(package private) static class
ImmutableMapEntrySet.RegularEntrySet<K,V>
(package private) class
ImmutableMapKeySet<K,V>
keySet()
implementation forImmutableMap
.(package private) class
ImmutableMapValues<K,V>
values()
implementation forImmutableMap
.private static class
ImmutableMultimap.EntryCollection<K,V>
(package private) class
ImmutableMultimap.Keys
private static class
ImmutableMultimap.Values<K,V>
class
ImmutableMultiset<E>
AMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) static class
ImmutableMultiset.ElementSet<E>
private class
ImmutableMultiset.EntrySet
(package private) class
ImmutableMultisetGwtSerializationDependencies<E>
A dummy superclass to support GWT serialization of the element type of anImmutableMultiset
.private class
ImmutableRangeSet.AsSet
private class
ImmutableRangeSet.ComplementRanges
class
ImmutableSet<E>
ASet
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) static class
ImmutableSet.Indexed<E>
private static class
ImmutableSetMultimap.EntrySet<K,V>
(package private) class
ImmutableSortedAsList<E>
List returned byImmutableSortedSet.asList()
when the set isn't empty.class
ImmutableSortedMultiset<E>
ASortedMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) class
ImmutableSortedMultisetFauxverideShim<E>
"Overrides" theImmutableMultiset
static methods that lackImmutableSortedMultiset
equivalents with deprecated, exception-throwing versions.class
ImmutableSortedSet<E>
ANavigableSet
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) class
ImmutableSortedSetFauxverideShim<E>
"Overrides" theImmutableSet
static methods that lackImmutableSortedSet
equivalents with deprecated, exception-throwing versions.(package private) class
IndexedImmutableSet<E>
private class
JdkBackedImmutableBiMap.InverseEntries
(package private) class
JdkBackedImmutableMultiset<E>
An implementation of ImmutableMultiset backed by a JDK Map and a list of entries.(package private) class
JdkBackedImmutableSet<E>
ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash flooding.private static class
Lists.StringAsImmutableList
(package private) class
RegularContiguousSet<C extends java.lang.Comparable>
An implementation ofContiguousSet
that contains one or more elements.(package private) class
RegularImmutableAsList<E>
AnImmutableAsList
implementation specialized for when the delegate collection is already backed by anImmutableList
or array.(package private) class
RegularImmutableBiMap.Inverse.InverseEntrySet
(package private) class
RegularImmutableList<E>
Implementation ofImmutableList
backed by a simple array.private static class
RegularImmutableMap.KeySet<K,V>
private static class
RegularImmutableMap.Values<K,V>
(package private) class
RegularImmutableMultiset<E>
Implementation ofImmutableMultiset
with zero or more elements.(package private) class
RegularImmutableSet<E>
Implementation ofImmutableSet
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 ofImmutableList
with exactly one element.(package private) class
SingletonImmutableSet<E>
Implementation ofImmutableSet
with exactly one element.Fields in com.google.common.collect declared as ImmutableCollection Modifier and Type Field Description (package private) ImmutableCollection<?>
ImmutableAsList.SerializedForm. collection
private ImmutableCollection<E>
RegularImmutableAsList. delegate
private ImmutableCollection<V>
ImmutableMap. values
Fields in com.google.common.collect with type parameters of type ImmutableCollection Modifier and Type Field Description (package private) ImmutableMap<K,? extends ImmutableCollection<V>>
ImmutableMultimap. map
Methods in com.google.common.collect that return ImmutableCollection Modifier and Type Method Description abstract ImmutableCollection<E>
ImmutableCollection.Builder. build()
Returns a newly-createdImmutableCollection
of the appropriate type, containing the elements provided to this builder.(package private) ImmutableCollection<java.util.Map.Entry<K,V>>
ImmutableMultimap. createEntries()
(package private) abstract ImmutableCollection<V>
ImmutableMap. createValues()
(package private) ImmutableCollection<V>
ImmutableMap.IteratorBasedImmutableMap. createValues()
(package private) ImmutableCollection<V>
ImmutableMultimap. createValues()
(package private) ImmutableCollection<V>
ImmutableSortedMap. createValues()
(package private) abstract ImmutableCollection<V>
ImmutableTable. createValues()
(package private) ImmutableCollection<V>
JdkBackedImmutableMap. createValues()
(package private) ImmutableCollection<V>
RegularImmutableMap. createValues()
(package private) ImmutableCollection<V>
RegularImmutableTable. createValues()
(package private) ImmutableCollection<V>
SingletonImmutableTable. 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>
ImmutableMap. values()
Returns an immutable collection of the values in this map, in the same order that they appear inImmutableMap.entrySet
.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.ImmutableCollection<V>
ImmutableTable. values()
Methods in com.google.common.collect with parameters of type ImmutableCollection Modifier and Type Method Description static <E> java.lang.Iterable<E>
Iterables. unmodifiableIterable(ImmutableCollection<E> iterable)
Deprecated.no need to use thisConstructors in com.google.common.collect with parameters of type ImmutableCollection Constructor Description RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList)
RegularImmutableAsList(ImmutableCollection<E> delegate, java.lang.Object[] array)
SerializedForm(ImmutableCollection<?> collection)
Constructor parameters in com.google.common.collect with type arguments of type ImmutableCollection Constructor Description ImmutableMultimap(ImmutableMap<K,? extends ImmutableCollection<V>> map, int size)
-
Uses of ImmutableCollection in com.google.common.testing
Methods in com.google.common.testing that return ImmutableCollection Modifier and Type Method Description private static <E> ImmutableCollection<E>
FreshValueGenerator. generateImmutableCollection(E freshElement)
-
Uses of ImmutableCollection in com.google.common.util.concurrent
Fields in com.google.common.util.concurrent declared as ImmutableCollection Modifier and Type Field Description private ImmutableCollection<? extends ListenableFuture<? extends InputT>>
AggregateFuture. futures
The input futures.Methods in com.google.common.util.concurrent with parameters of type ImmutableCollection Modifier and Type Method Description private void
AggregateFuture. decrementCountAndMaybeComplete(ImmutableCollection<? extends java.util.concurrent.Future<? extends InputT>> futuresIfNeedToCollectAtCompletion)
private void
AggregateFuture. processCompleted(ImmutableCollection<? extends java.util.concurrent.Future<? extends InputT>> futuresIfNeedToCollectAtCompletion)
Constructors in com.google.common.util.concurrent with parameters of type ImmutableCollection Constructor Description AggregateFuture(ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures, boolean allMustSucceed, boolean collectsValues)
CollectionFuture(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)
ListFuture(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed)
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 andServiceManager.ServiceManagerState.markReady()
is called.
-