Modifier | Constructor and Description |
---|---|
protected |
BaseList() |
protected |
BaseList(java.util.Collection<E> c) |
protected |
BaseList(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
E element) |
void |
clear() |
boolean |
contains(java.lang.Object element) |
E |
get(int index) |
E |
remove(int index) |
boolean |
remove(java.lang.Object element) |
void |
removeRange(int fromIndex,
int toIndex) |
E |
set(int index,
E element) |
int |
size() |
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected java.util.ArrayList<E> list
protected BaseList()
protected BaseList(int capacity)
protected BaseList(java.util.Collection<E> c)
public int size()
public E get(int index)
public void add(int index, E element)
public E remove(int index)
public boolean remove(java.lang.Object element)
public void removeRange(int fromIndex, int toIndex)
removeRange
in class java.util.AbstractList<E>
public void clear()