public interface ImmutableList<E> extends ImmutableCollection<E>, StreamList<E>
| Modifier and Type | Method and Description |
|---|---|
static <E> ImmutableList<E> |
empty() |
static <E> ImmutableList<E> |
newListWith(E e1) |
static <E> ImmutableList<E> |
newListWith(E e1,
E e2) |
static <E> ImmutableList<E> |
newListWith(E e1,
E e2,
E e3) |
static <E> ImmutableList<E> |
newListWith(E e1,
E e2,
E e3,
E e4) |
static <E> ImmutableList<E> |
newListWith(E e1,
E e2,
E e3,
E e4,
E e5) |
static <E> ImmutableList<E> |
newListWithAll(E[] elements) |
static <E> ImmutableList<E> |
newListWithAll(Iterable<? extends E> elements) |
static <E> ImmutableList<E> |
newListWithAll(Iterator<? extends E> iterator) |
containsExactly, get, toListisEmpty, sizestatic <E> ImmutableList<E> empty()
empty in interface StreamIterable<E>static <E> ImmutableList<E> newListWith(E e1)
static <E> ImmutableList<E> newListWith(E e1, E e2)
static <E> ImmutableList<E> newListWith(E e1, E e2, E e3)
static <E> ImmutableList<E> newListWith(E e1, E e2, E e3, E e4)
static <E> ImmutableList<E> newListWith(E e1, E e2, E e3, E e4, E e5)
static <E> ImmutableList<E> newListWithAll(E[] elements)
static <E> ImmutableList<E> newListWithAll(Iterable<? extends E> elements)
static <E> ImmutableList<E> newListWithAll(Iterator<? extends E> iterator)
Copyright © 2019 Objectos Software LTDA. All rights reserved.