Methods in com.google.common.collect that return ImmutableList |
ImmutableList<E> |
ImmutableCollection.asList()
Returns a list view of the collection. |
ImmutableList<E> |
ImmutableList.asList()
Returns this list instance. |
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
|
ImmutableList.copyOf(Collection<? extends E> elements)
Returns an immutable list containing the given elements, in order. |
static
|
ImmutableList.copyOf(E[] elements)
Returns an immutable list containing the given elements, in order. |
static
|
ImmutableList.copyOf(Iterable<? extends E> elements)
Returns an immutable list containing the given elements, in order. |
static
|
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. |
|
Ordering.immutableSortedCopy(Iterable<E> iterable)
Returns an immutable copy of the given iterable sorted by this
ordering. |
static
|
ImmutableList.of()
Returns the empty immutable list. |
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. |
static
|
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
|
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
|
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
|
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
|
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
|
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
|
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)
Guaranteed to throw an exception and leave the multimap unmodified. |
ImmutableList<V> |
ImmutableListMultimap.replaceValues(K key,
Iterable<? extends V> values)
Guaranteed to throw an exception and leave the multimap unmodified. |
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. |
abstract ImmutableList<E> |
ImmutableList.subList(int fromIndex,
int toIndex)
Returns an immutable list of the elements between the specified fromIndex , inclusive, and toIndex , exclusive. |