Uses of Class
com.google.common.collect.ImmutableList
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
Utility methods and classes for networking (such as IP addresses and domain names).
Utilities for reflection.
Concurrency utilities.
-
Uses of ImmutableList in com.google.common.collect
Modifier and TypeMethodDescriptionImmutableCollection.asList()
Returns anImmutableList
containing the same elements, in the same order, as this collection.final ImmutableList
<E> ImmutableList.asList()
Deprecated.ImmutableMultiset.asList()
ImmutableList.Builder.build()
Returns a newly-createdImmutableList
based on the contents of theBuilder
.static ImmutableList
<Character> Lists.charactersOf
(String string) Returns a view of the specified string as an immutable list ofCharacter
values.ArrayTable.columnKeyList()
Returns, as an immutable list, the column keys provided when the table was constructed, including those that are mapped to null values only.static <E> ImmutableList
<E> ImmutableList.copyOf
(E[] elements) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.copyOf
(Collection<? extends E> elements) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> Returns an immutable list containing the given elements, in order.Returns an immutable list of the values for the given key.<E extends @NonNull T>
ImmutableList<E> Ordering.immutableSortedCopy
(Iterable<E> elements) Returns an immutable list containingelements
sorted by this ordering.static <E> ImmutableList
<E> ImmutableList.of()
Returns the empty immutable list.static <E> ImmutableList
<E> ImmutableList.of
(E e1) Returns an immutable list containing a single element.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5, E e6) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11) Returns an immutable list containing the given elements, in order.static <E> ImmutableList
<E> ImmutableList.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10, E e11, E e12, E... others) Returns an immutable list containing the given elements, in order.final ImmutableList
<V> Deprecated.Unsupported operation.final ImmutableList
<V> ImmutableListMultimap.replaceValues
(K key, Iterable<? extends V> values) Deprecated.Unsupported operation.ImmutableList.reverse()
Returns a view of this immutable list in reverse order.ArrayTable.rowKeyList()
Returns, as an immutable list, the row keys provided when the table was constructed, including those that are mapped to null values only.static <E extends Comparable<? super E>>
ImmutableList<E> ImmutableList.sortedCopyOf
(Iterable<? extends E> elements) Returns an immutable list containing the given elements, sorted according to their natural order.static <E> ImmutableList
<E> ImmutableList.sortedCopyOf
(Comparator<? super E> comparator, Iterable<? extends E> elements) Returns an immutable list containing the given elements, in sorted order relative to the specified comparator.ImmutableList.subList
(int fromIndex, int toIndex) Returns an immutable list of the elements between the specifiedfromIndex
, inclusive, andtoIndex
, exclusive.final ImmutableList
<@NonNull E> FluentIterable.toList()
Returns anImmutableList
containing all of the elements from this fluent iterable in proper sequence.final ImmutableList
<@NonNull E> FluentIterable.toSortedList
(Comparator<? super E> comparator) Returns anImmutableList
containing all of the elements from thisFluentIterable
in the order specified bycomparator
.Modifier and TypeMethodDescriptionstatic <E> Collector
<E, ?, ImmutableList<E>> ImmutableList.toImmutableList()
Returns aCollector
that accumulates the input elements into a newImmutableList
, in encounter order. -
Uses of ImmutableList in com.google.common.io
Modifier and TypeMethodDescriptionstatic ImmutableList
<Path> Returns an immutable list of paths to the files contained in the given directory.CharSource.readLines()
Reads all the lines of this source as a list of strings. -
Uses of ImmutableList in com.google.common.net
Modifier and TypeMethodDescriptionInternetDomainName.parts()
Returns the individual components of this domain name, normalized to all lower case. -
Uses of ImmutableList in com.google.common.reflect
Modifier and TypeMethodDescriptionfinal ImmutableList
<TypeToken<? extends Throwable>> Invokable.getExceptionTypes()
Returns all declared exception types of thisInvokable
.final ImmutableList
<Parameter> Invokable.getParameters()
Returns all declared parameters of thisInvokable
. -
Uses of ImmutableList in com.google.common.util.concurrent
Modifier and TypeFieldDescriptionprotected final ImmutableList
<ClosingFuture<?>> ClosingFuture.Combiner.inputs
Modifier and TypeMethodDescriptionstatic <T extends @Nullable Object>
ImmutableList<ListenableFuture<T>> Futures.inCompletionOrder
(Iterable<? extends ListenableFuture<? extends T>> futures) Returns a list of delegate futures that correspond to the futures received in the order that they complete.
this
.