| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for working with collections.
|
| com.google.common.io |
This package contains utility methods and classes for working with Java I/O; for example input streams, output streams, readers, writers, and files.
|
| com.google.common.net |
This package contains utility methods and classes for working with net addresses (numeric IP and domain names).
|
| com.google.common.reflect |
This package contains utilities to work with Java reflection.
|
| com.google.common.util.concurrent |
Concurrency utilities.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableList |
ImmutableList.asList()
Returns this list instance.
|
ImmutableList |
ImmutableCollection.asList()
Returns a list view of the collection.
|
ImmutableList |
ImmutableList.Builder.build()
Returns a newly-created
ImmutableList based on the contents of the
Builder.
|
static ImmutableList |
Lists.charactersOf(String
Returns a view of the specified string as an immutable list of
Character values.
|
ImmutableList |
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 |
ImmutableList.copyOf(Collection
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList |
ImmutableList.copyOf(E[] elements)
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList |
ImmutableList.copyOf(Iterable
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList |
ImmutableList.copyOf(Iterator
Returns an immutable list containing the given elements, in order.
|
ImmutableList |
ImmutableListMultimap.get(K key)
Returns an immutable list of the values for the given key.
|
<E extends T> ImmutableList |
Ordering.immutableSortedCopy(Iterable
Returns an
immutable list containing
elements sorted by this ordering.
|
static <E> ImmutableList |
ImmutableList.of()
Returns the empty immutable list.
|
static <E> ImmutableList |
ImmutableList.of(E element)
Returns an immutable list containing a single element.
|
static <E> ImmutableList |
ImmutableList.of(E e1, E e2)
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList |
ImmutableList.of(E e1, E e2, E e3)
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList |
ImmutableList.of(E e1, E e2, E e3, E e4)
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
ImmutableList |
ImmutableListMultimap.removeAll(Object
Deprecated.
Unsupported operation.
|
ImmutableList |
ImmutableListMultimap.replaceValues(K key, Iterable
Deprecated.
Unsupported operation.
|
ImmutableList |
ImmutableList.reverse()
Returns a view of this immutable list in reverse order.
|
ImmutableList |
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.
|
ImmutableList |
ImmutableList.subList(int fromIndex, int toIndex)
Returns an immutable list of the elements between the specified
fromIndex, inclusive, and
toIndex, exclusive.
|
ImmutableList |
FluentIterable.toList()
Returns an
ImmutableList containing all of the elements from this fluent iterable in proper sequence.
|
ImmutableList |
FluentIterable.toSortedList(Comparator
Returns an
ImmutableList containing all of the elements from this
FluentIterable in the order specified by
comparator.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableList |
CharSource.readLines()
Reads all the lines of this source as a list of strings.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableList |
InternetDomainName.parts()
Returns the individual components of this domain name, normalized to all lower case.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableList |
Invokable.getExceptionTypes()
Returns all declared exception types of this
Invokable.
|
ImmutableList |
Invokable.getParameters()
Returns all declared parameters of this
Invokable.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ImmutableList |
Futures.inCompletionOrder(Iterable
Returns a list of delegate futures that correspond to the futures received in the order that they complete.
|