public class ImmutableList<E> extends ArrayList<E>
modCount
Modifier and Type | Method and Description |
---|---|
static <E> ImmutableList<E> |
copyOf(List<E> list) |
static <E> ImmutableList<E> |
of(E... elements) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public static <E> ImmutableList<E> copyOf(List<E> list)
public static <E> ImmutableList<E> of(E... elements)