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 classContiguousSet<C extends java.lang.Comparable>A sorted set of contiguous values in a givenDiscreteDomain.(package private) classDescendingImmutableSortedMultiset<E>A descending wrapper around anImmutableSortedMultiset(package private) classDescendingImmutableSortedSet<E>Skeletal implementation ofImmutableSortedSet.descendingSet().(package private) classEmptyContiguousSet<C extends java.lang.Comparable>An empty contiguous set.(package private) classImmutableAsList<E>List returned byasList()that delegatescontainschecks to the backing collection.(package private) classImmutableEnumSet<E extends java.lang.Enum<E>>Implementation ofImmutableSetbacked by a non-emptyEnumSet.classImmutableList<E>AListwhose contents will never change, with many other important properties detailed atImmutableCollection.private static classImmutableList.ReverseImmutableList<E>(package private) classImmutableList.SubList(package private) classImmutableMapEntrySet<K,V>entrySet()implementation forImmutableMap.(package private) static classImmutableMapEntrySet.RegularEntrySet<K,V>(package private) classImmutableMapKeySet<K,V>keySet()implementation forImmutableMap.(package private) classImmutableMapValues<K,V>values()implementation forImmutableMap.private static classImmutableMultimap.EntryCollection<K,V>(package private) classImmutableMultimap.Keysprivate static classImmutableMultimap.Values<K,V>classImmutableMultiset<E>AMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) static classImmutableMultiset.ElementSet<E>private classImmutableMultiset.EntrySet(package private) classImmutableMultisetGwtSerializationDependencies<E>A dummy superclass to support GWT serialization of the element type of anImmutableMultiset.private classImmutableRangeSet.AsSetprivate classImmutableRangeSet.ComplementRangesclassImmutableSet<E>ASetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) static classImmutableSet.Indexed<E>private static classImmutableSetMultimap.EntrySet<K,V>(package private) classImmutableSortedAsList<E>List returned byImmutableSortedSet.asList()when the set isn't empty.classImmutableSortedMultiset<E>ASortedMultisetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) classImmutableSortedMultisetFauxverideShim<E>"Overrides" theImmutableMultisetstatic methods that lackImmutableSortedMultisetequivalents with deprecated, exception-throwing versions.classImmutableSortedSet<E>ANavigableSetwhose contents will never change, with many other important properties detailed atImmutableCollection.(package private) classImmutableSortedSetFauxverideShim<E>"Overrides" theImmutableSetstatic methods that lackImmutableSortedSetequivalents with deprecated, exception-throwing versions.(package private) classIndexedImmutableSet<E>private classJdkBackedImmutableBiMap.InverseEntries(package private) classJdkBackedImmutableMultiset<E>An implementation of ImmutableMultiset backed by a JDK Map and a list of entries.(package private) classJdkBackedImmutableSet<E>ImmutableSet implementation backed by a JDK HashSet, used to defend against apparent hash flooding.private static classLists.StringAsImmutableList(package private) classRegularContiguousSet<C extends java.lang.Comparable>An implementation ofContiguousSetthat contains one or more elements.(package private) classRegularImmutableAsList<E>AnImmutableAsListimplementation specialized for when the delegate collection is already backed by anImmutableListor array.(package private) classRegularImmutableBiMap.Inverse.InverseEntrySet(package private) classRegularImmutableList<E>Implementation ofImmutableListbacked by a simple array.private static classRegularImmutableMap.KeySet<K,V>private static classRegularImmutableMap.Values<K,V>(package private) classRegularImmutableMultiset<E>Implementation ofImmutableMultisetwith zero or more elements.(package private) classRegularImmutableSet<E>Implementation ofImmutableSetwith two or more elements.(package private) classRegularImmutableSortedMultiset<E>An immutable sorted multiset with one or more distinct elements.(package private) classRegularImmutableSortedSet<E>An immutable sorted set with one or more elements.private classRegularImmutableTable.CellSetprivate classRegularImmutableTable.Values(package private) classSingletonImmutableList<E>Implementation ofImmutableListwith exactly one element.(package private) classSingletonImmutableSet<E>Implementation ofImmutableSetwith exactly one element.Fields in com.google.common.collect declared as ImmutableCollection Modifier and Type Field Description (package private) ImmutableCollection<?>ImmutableAsList.SerializedForm. collectionprivate ImmutableCollection<E>RegularImmutableAsList. delegateprivate ImmutableCollection<V>ImmutableMap. valuesFields in com.google.common.collect with type parameters of type ImmutableCollection Modifier and Type Field Description (package private) ImmutableMap<K,? extends ImmutableCollection<V>>ImmutableMultimap. mapMethods in com.google.common.collect that return ImmutableCollection Modifier and Type Method Description abstract ImmutableCollection<E>ImmutableCollection.Builder. build()Returns a newly-createdImmutableCollectionof 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.RunningState. futuresConstructors in com.google.common.util.concurrent with parameters of type ImmutableCollection Constructor 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<?>> 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 andServiceManager.ServiceManagerState.markReady()is called.
-