Uses of Class
com.google.common.collect.ImmutableCollection
-
Packages that use ImmutableCollection Package Description com.google.common.collect Collection interfaces and implementations, and other utilities for collections. -
-
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 Comparable>
A sorted set of contiguous values in a givenDiscreteDomain
.class
ImmutableList<E>
AList
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableMultiset<E>
AMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSet<E>
ASet
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSortedMultiset<E>
ASortedMultiset
whose contents will never change, with many other important properties detailed atImmutableCollection
.class
ImmutableSortedSet<E>
ANavigableSet
whose contents will never change, with many other important properties detailed atImmutableCollection
.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.ImmutableCollection<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(@Nullable Object key)
Deprecated.Unsupported operation.ImmutableCollection<V>
ImmutableMultimap. replaceValues(K key, 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> Iterable<E>
Iterables. unmodifiableIterable(ImmutableCollection<E> iterable)
Deprecated.no need to use this
-