Package | Description |
---|---|
com.google.inject.internal.util |
Modifier and Type | Method and Description |
---|---|
ImmutableList<E> |
ImmutableList.Builder.build()
Returns a newly-created
ImmutableList based on the contents of
the Builder . |
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.
|
static <E> ImmutableList<E> |
ImmutableList.of()
Returns the empty immutable list.
|
static <E> ImmutableList<E> |
ImmutableList.of(E... elements)
Returns an immutable list containing the given elements, in order.
|
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.
|
abstract ImmutableList<E> |
ImmutableList.subList(int fromIndex,
int toIndex)
Returns an immutable list of the elements between the specified
fromIndex , inclusive, and toIndex , exclusive. |
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.