|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ImmutableList | |
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
| Uses of ImmutableList in com.google.common.collect |
|---|
| Methods in com.google.common.collect that return ImmutableList | ||
|---|---|---|
ImmutableList<E> |
ImmutableList.Builder.build()
Returns a newly-created ImmutableList based on the contents of
the Builder. |
|
static
|
ImmutableList.copyOf(java.lang.Iterable<? extends E> elements)
Returns an immutable list containing the given elements, in order. |
|
static
|
ImmutableList.copyOf(java.util.Iterator<? extends E> elements)
Returns an immutable list containing the given elements, in order. |
|
ImmutableList<V> |
ImmutableMultimap.get(K key)
Returns an immutable list of the values for the given key. |
|
static
|
ImmutableList.of()
Returns the empty immutable list. |
|
static
|
ImmutableList.of(E... elements)
Returns an immutable list containing the given elements, in order. |
|
static
|
ImmutableList.of(E element)
Returns an immutable list containing a single element. |
|
static
|
ImmutableList.of(E e1,
E e2)
Returns an immutable list containing the given elements, in order. |
|
static
|
ImmutableList.of(E e1,
E e2,
E e3)
Returns an immutable list containing the given elements, in order. |
|
static
|
ImmutableList.of(E e1,
E e2,
E e3,
E e4)
Returns an immutable list containing the given elements, in order. |
|
static
|
ImmutableList.of(E e1,
E e2,
E e3,
E e4,
E e5)
Returns an immutable list containing the given elements, in order. |
|
abstract ImmutableList<E> |
ImmutableList.subList(int fromIndex,
int toIndex)
Returns an immutable list of the elements between the specified fromIndex, inclusive, and toIndex, exclusive. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||