public class NonNullList<E>
extends java.util.AbstractList<E>
Modifier | Constructor and Description |
---|---|
protected |
NonNullList() |
protected |
NonNullList(java.util.List<E> delegateIn,
E listType) |
Modifier and Type | Method and Description |
---|---|
void |
add(int p_add_1_,
E p_add_2_) |
void |
clear() |
static <E> NonNullList<E> |
create() |
static <E> NonNullList<E> |
from(E defaultElementIn,
E... elements) |
E |
get(int p_get_1_) |
E |
remove(int p_remove_1_) |
E |
set(int p_set_1_,
E p_set_2_) |
int |
size() |
static <E> NonNullList<E> |
withSize(int size,
E fill) |
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static <E> NonNullList<E> create()
public static <E> NonNullList<E> withSize(int size, E fill)
public static <E> NonNullList<E> from(E defaultElementIn, E... elements)
@Nonnull public E get(int p_get_1_)
public void add(int p_add_1_, E p_add_2_)
public E remove(int p_remove_1_)
public int size()