public class NotNullList<E>
extends java.util.ArrayList<E>
Constructor and Description |
---|
NotNullList() |
NotNullList(java.util.Collection<? extends E> c) |
NotNullList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(java.util.Collection<? extends E> c) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
E |
get(int index) |
E |
set(int index,
E element) |
java.util.List<E> |
subList(int fromIndex,
int toIndex) |
clear, clone, contains, ensureCapacity, forEach, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, toArray, toArray, trimToSize
finalize, getClass, notify, notifyAll, wait, wait, wait
public NotNullList(int initialCapacity)
public NotNullList()
public NotNullList(java.util.Collection<? extends E> c)