Uses of Class
com.google.common.collect.ImmutableCollection
Packages that use ImmutableCollection
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Testing utilities.
Concurrency utilities.
-
Uses of ImmutableCollection in com.google.common.collect
Subclasses of ImmutableCollection in com.google.common.collectModifier and TypeClassDescriptionclass
ContiguousSet<C extends Comparable>
A sorted set of contiguous values in a givenDiscreteDomain
.(package private) final class
A descending wrapper around anImmutableSortedMultiset
(package private) final class
Skeletal implementation ofImmutableSortedSet.descendingSet()
.(package private) final class
EmptyContiguousSet<C extends Comparable>
An empty contiguous set.(package private) class
List returned byasList()
that delegatescontains
checks to the backing collection.(package private) final class
ImmutableEnumSet<E extends Enum<E>>
Implementation ofImmutableSet
backed by a non-emptyEnumSet
.class
AList
whose contents will never change, with many other important properties detailed atImmutableCollection
.private static class
(package private) class
(package private) class
ImmutableMapEntrySet<K,
V> entrySet()
implementation forImmutableMap
.(package private) static final class
(package private) final class
ImmutableMapKeySet<K,
V> keySet()
implementation forImmutableMap
.(package private) final class
ImmutableMapValues<K,
V> values()
implementation forImmutableMap
.private static class
(package private) class
private static final class
class
AMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) static final class
private final class
(package private) class
A dummy superclass to support GWT serialization of the element type of anImmutableMultiset
.private final class
private final class
class
ImmutableSet<E>
ASet
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) static class
(package private) static class
private static final class
(package private) final class
List returned byImmutableSortedSet.asList()
when the set isn't empty.class
ASortedMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ANavigableSet
whose contents will never change, with many other important properties detailed atImmutableCollection
.(package private) class
private final class
(package private) final class
An implementation of ImmutableMultiset backed by a JDK Map and a list of entries.(package private) final class
ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash flooding.private static final class
(package private) final class
RegularContiguousSet<C extends Comparable>
An implementation ofContiguousSet
that contains one or more elements.(package private) class
AnImmutableAsList
implementation specialized for when the delegate collection is already backed by anImmutableList
or array.(package private) final class
(package private) class
Implementation ofImmutableList
backed by a simple array.private static final class
private static final class
(package private) class
Implementation ofImmutableMultiset
with zero or more elements.(package private) final class
Implementation ofImmutableSet
with two or more elements.(package private) final class
An immutable sorted multiset with one or more distinct elements.(package private) final class
An immutable sorted set with one or more elements.private final class
private final class
(package private) final class
Implementation ofImmutableList
with exactly one element.(package private) final class
Implementation ofImmutableSet
with exactly one element.Fields in com.google.common.collect declared as ImmutableCollectionModifier and TypeFieldDescription(package private) final ImmutableCollection
<?> ImmutableAsList.SerializedForm.collection
private final ImmutableCollection
<E> RegularImmutableAsList.delegate
private ImmutableCollection
<V> ImmutableMap.values
Fields in com.google.common.collect with type parameters of type ImmutableCollectionModifier and TypeFieldDescription(package private) final ImmutableMap
<K, ? extends ImmutableCollection<V>> ImmutableMultimap.map
Methods in com.google.common.collect that return ImmutableCollectionModifier and TypeMethodDescriptionabstract ImmutableCollection
<E> ImmutableCollection.Builder.build()
Returns a newly-createdImmutableCollection
of the appropriate type, containing the elements provided to this builder.(package private) ImmutableCollection
<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) final ImmutableCollection
<V> RegularImmutableTable.createValues()
(package private) ImmutableCollection
<V> SingletonImmutableTable.createValues()
(package private) abstract ImmutableCollection
<E> ImmutableAsList.delegateCollection()
(package private) ImmutableCollection
<E> RegularImmutableAsList.delegateCollection()
ImmutableMultimap.entries()
Returns an immutable collection of all key-value pairs in the multimap.abstract ImmutableCollection
<V> Returns an immutable collection of the values for the given key.Deprecated.Unsupported operation.ImmutableMultimap.replaceValues
(K key, Iterable<? extends V> values) Deprecated.Unsupported operation.ImmutableMap.values()
Returns an immutable collection of the values in this map, in the same order that they appear inImmutableMap.entrySet
.ImmutableMultimap.values()
Returns an immutable collection of the values in this multimap.ImmutableSortedMap.values()
Returns an immutable collection of the values in this map, sorted by the ordering of the corresponding keys.ImmutableTable.values()
Methods in com.google.common.collect with parameters of type ImmutableCollectionModifier and TypeMethodDescriptionstatic <E> Iterable
<E> Iterables.unmodifiableIterable
(ImmutableCollection<E> iterable) Deprecated.no need to use thisConstructors in com.google.common.collect with parameters of type ImmutableCollectionModifierConstructorDescription(package private)
RegularImmutableAsList
(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) (package private)
RegularImmutableAsList
(ImmutableCollection<E> delegate, Object[] array) (package private)
SerializedForm
(ImmutableCollection<?> collection) Constructor parameters in com.google.common.collect with type arguments of type ImmutableCollectionModifierConstructorDescription(package private)
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 ImmutableCollectionModifier and TypeMethodDescription(package 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 ImmutableCollectionModifier and TypeFieldDescriptionprivate ImmutableCollection
<? extends ListenableFuture<? extends InputT>> AggregateFuture.futures
The input futures.Methods in com.google.common.util.concurrent with parameters of type ImmutableCollectionModifier and TypeMethodDescriptionprivate void
AggregateFuture.decrementCountAndMaybeComplete
(ImmutableCollection<? extends Future<? extends InputT>> futuresIfNeedToCollectAtCompletion) private void
AggregateFuture.processCompleted
(ImmutableCollection<? extends Future<? extends InputT>> futuresIfNeedToCollectAtCompletion) Constructors in com.google.common.util.concurrent with parameters of type ImmutableCollectionModifierConstructorDescription(package private)
AggregateFuture
(ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures, boolean allMustSucceed, boolean collectsValues) (package private)
CollectionFuture
(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) (package private)
CombinedFuture
(ImmutableCollection<? extends ListenableFuture<?>> futures, boolean allMustSucceed, Executor listenerExecutor, AsyncCallable<V> callable) (package private)
CombinedFuture
(ImmutableCollection<? extends ListenableFuture<?>> futures, boolean allMustSucceed, Executor listenerExecutor, Callable<V> callable) (package private)
ListFuture
(ImmutableCollection<? extends ListenableFuture<? extends V>> futures, boolean allMustSucceed) (package private)
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.