Uses of Class
com.google.common.collect.ImmutableCollection
Packages that use ImmutableCollection
Package
Description
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
This package contains testing utilities.
Concurrency utilities.
-
Uses of ImmutableCollection in com.google.common.collect
Subclasses of ImmutableCollection in com.google.common.collectModifier and TypeClassDescriptionclassContiguousSet<C extends Comparable>A sorted set of contiguous values in a givenDiscreteDomain.(package private) final classA descending wrapper around anImmutableSortedMultiset(package private) final classSkeletal implementation ofImmutableSortedSet.descendingSet().(package private) final classEmptyContiguousSet<C extends Comparable>An empty contiguous set.(package private) classList returned byasList()that delegatescontainschecks to the backing collection.(package private) final classImmutableEnumSet<E extends Enum<E>>Implementation ofImmutableSetbacked by a non-emptyEnumSet.classAListwhose contents will never change, with many other important properties detailed atImmutableCollection.private static class(package private) class(package private) classImmutableMapEntrySet<K,V> entrySet()implementation forImmutableMap.(package private) static final class(package private) final classImmutableMapKeySet<K,V> keySet()implementation forImmutableMap.(package private) final classImmutableMapValues<K,V> values()implementation forImmutableMap.private static class(package private) classprivate static final classclassAMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) static final classprivate final class(package private) classA dummy superclass to support GWT serialization of the element type of anImmutableMultiset.private final classprivate final classclassImmutableSet<E>ASetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) static class(package private) static classprivate static final class(package private) final classList returned byImmutableSortedSet.asList()when the set isn't empty.classASortedMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) class"Overrides" theImmutableMultisetstatic methods that lackImmutableSortedMultisetequivalents with deprecated, exception-throwing versions.classANavigableSetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) class"Overrides" theImmutableSetstatic methods that lackImmutableSortedSetequivalents with deprecated, exception-throwing versions.(package private) classprivate final class(package private) final classAn implementation of ImmutableMultiset backed by a JDK Map and a list of entries.(package private) final classImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash flooding.private static final class(package private) final classRegularContiguousSet<C extends Comparable>An implementation ofContiguousSetthat contains one or more elements.(package private) classAnImmutableAsListimplementation specialized for when the delegate collection is already backed by anImmutableListor array.(package private) final class(package private) classImplementation ofImmutableListbacked by a simple array.private static final classprivate static final class(package private) classImplementation ofImmutableMultisetwith zero or more elements.(package private) final classImplementation ofImmutableSetwith two or more elements.(package private) final classAn immutable sorted multiset with one or more distinct elements.(package private) final classAn immutable sorted set with one or more elements.private final classprivate final class(package private) final classImplementation ofImmutableListwith exactly one element.(package private) final classImplementation ofImmutableSetwith exactly one element.Fields in com.google.common.collect declared as ImmutableCollectionModifier and TypeFieldDescription(package private) final ImmutableCollection<?>ImmutableAsList.SerializedForm.collectionprivate final ImmutableCollection<E>RegularImmutableAsList.delegateprivate ImmutableCollection<V>ImmutableMap.valuesFields in com.google.common.collect with type parameters of type ImmutableCollectionModifier and TypeFieldDescription(package private) final ImmutableMap<K,? extends ImmutableCollection<V>> ImmutableMultimap.mapMethods in com.google.common.collect that return ImmutableCollectionModifier and TypeMethodDescriptionabstract ImmutableCollection<E>ImmutableCollection.Builder.build()Returns a newly-createdImmutableCollectionof 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.futuresThe input futures.Methods in com.google.common.util.concurrent with parameters of type ImmutableCollectionModifier and TypeMethodDescriptionprivate voidAggregateFuture.decrementCountAndMaybeComplete(ImmutableCollection<? extends Future<? extends InputT>> futuresIfNeedToCollectAtCompletion) private voidAggregateFuture.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.