public class ArrayLists
extends java.lang.Object
ArrayLists is the preferred method of constructing instances of ArrayList.
ArrayList is currently constructed in
all cases, however this may change in the future.
ArrayLists is preferred for construction as:
| Modifier and Type | Method and Description |
|---|---|
static <E> Builder<E,IndexedList<E>> |
builder() |
static <E> IndexedList<E> |
copyOf(E[] es) |
static <E> IndexedList<E> |
copyOf(java.lang.Iterable<E> iterable) |
static <E> IndexedList<E> |
copyOf(java.util.Iterator<E> iterator) |
static <E> IndexedList<E> |
copyOfTraversable(Traversable<E> traversable) |
static <E> BuilderFactory<E,IndexedList<E>> |
factory() |
static <E> IndexedList<E> |
of(E... elements) |
@NotNull public static <E> IndexedList<E> of(E... elements)
@NotNull public static <E> IndexedList<E> copyOf(java.lang.Iterable<E> iterable)
@NotNull public static <E> IndexedList<E> copyOf(java.util.Iterator<E> iterator)
@NotNull public static <E> IndexedList<E> copyOf(E[] es)
@NotNull public static <E> IndexedList<E> copyOfTraversable(Traversable<E> traversable)
@NotNull public static <E> BuilderFactory<E,IndexedList<E>> factory()
@NotNull public static <E> Builder<E,IndexedList<E>> builder()