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.
|
Modifier and Type | Method and Description |
---|---|
ImmutableList<E> |
ImmutableList.asList()
Returns this list instance.
|
ImmutableList<E> |
ImmutableCollection.asList()
Returns a list view of the 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> iterable)
Returns an immutable copy of the given iterable 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.
|
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.toImmutableList()
Deprecated.
Use
FluentIterable.toList() instead. This method is scheduled for removal in Guava 15.0. |
ImmutableList<E> |
FluentIterable.toList()
Returns an
ImmutableList containing all of the elements from this fluent iterable in
proper sequence. |
ImmutableList<E> |
FluentIterable.toSortedImmutableList(Comparator<? super E> comparator)
Deprecated.
Use
FluentIterable.toSortedList(Comparator) instead. This method is scheduled for removal
in Guava 15.0. |
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 . |
Copyright © 2010-2013. All Rights Reserved.