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<E> |
ImmutableMultiset.asList() |
ImmutableList<E> |
ImmutableList.asList()
Returns this list instance.
|
ImmutableList<E> |
ImmutableSet.asList() |
ImmutableList<E> |
ImmutableCollection.asList()
Returns an
ImmutableList containing the same elements, in the same order, as this
collection. |
ImmutableList<E> |
ImmutableList.Builder.build()
Returns a newly-created
ImmutableList based on the contents of
the Builder . |
static ImmutableList<Character> |
Lists.charactersOf(String string)
Returns a view of the specified string as an immutable list of
Character values. |
ImmutableList<C> |
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(Collection<? extends E> elements)
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList<E> |
ImmutableList.copyOf(E[] elements)
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList<E> |
ImmutableList.copyOf(Iterable<? extends E> elements)
Returns an immutable list containing the given elements, in order.
|
static <E> ImmutableList<E> |
ImmutableList.copyOf(Iterator<? extends E> elements)
Returns an immutable list containing the given elements, in order.
|
ImmutableList<V> |
ImmutableListMultimap.get(K key)
Returns an immutable list of the values for the given key.
|
<E extends T> |
Ordering.immutableSortedCopy(Iterable<E> elements)
Returns an immutable list containing
elements sorted by this ordering. |
static <E> ImmutableList<E> |
ImmutableList.of()
Returns the empty immutable list.
|
static <E> ImmutableList<E> |
ImmutableList.of(E element)
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.
|
ImmutableList<V> |
ImmutableListMultimap.removeAll(Object key)
Deprecated.
Unsupported operation.
|
ImmutableList<V> |
ImmutableListMultimap.replaceValues(K key,
Iterable<? extends V> values)
Deprecated.
Unsupported operation.
|
ImmutableList<E> |
ImmutableList.reverse()
Returns a view of this immutable list in reverse order.
|
ImmutableList<R> |
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> 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.
|
static <E extends Comparable<? super E>> |
ImmutableList.sortedCopyOf(Iterable<? extends E> elements)
Returns an immutable list containing the given elements, sorted according to their natural
order.
|
ImmutableList<E> |
ImmutableList.subList(int fromIndex,
int toIndex)
Returns an immutable list of the elements between the specified
fromIndex , inclusive, and toIndex , exclusive. |
ImmutableList<E> |
FluentIterable.toList()
Returns an
ImmutableList containing all of the elements from this fluent iterable in
proper sequence. |
ImmutableList<E> |
FluentIterable.toSortedList(Comparator<? super E> 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<String> |
CharSource.readLines()
Reads all the lines of this source as a list of strings.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList<String> |
InternetDomainName.parts()
Returns the individual components of this domain name, normalized to all lower case.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList<TypeToken<? extends Throwable>> |
Invokable.getExceptionTypes()
Returns all declared exception types of this
Invokable . |
ImmutableList<Parameter> |
Invokable.getParameters()
Returns all declared parameters of this
Invokable . |
Modifier and Type | Method and Description |
---|---|
static <T> 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.
|
Copyright © 2010–2017. All rights reserved.