public class ArrayTuple<E>
extends java.util.ArrayList<E>
ArrayList
and not allowing any content change operation| Constructor and Description |
|---|
ArrayTuple() |
ArrayTuple(java.util.Collection<E> other) |
ArrayTuple(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> coll) |
boolean |
addAll(int index,
java.util.Collection<? extends E> c) |
void |
clear() |
java.util.Iterator<E> |
iterator() |
java.util.ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> coll) |
boolean |
retainAll(java.util.Collection<?> coll) |
E |
set(int index,
E element) |
java.util.List<E> |
subList(int fromIndex,
int toIndex) |
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, listIterator, removeRange, size, toArray, toArray, trimToSizepublic ArrayTuple()
public ArrayTuple(java.util.Collection<E> other)
public ArrayTuple(int initialCapacity)
public boolean add(E e)
public boolean remove(java.lang.Object o)
public boolean addAll(java.util.Collection<? extends E> coll)
public boolean removeAll(java.util.Collection<?> coll)
public boolean retainAll(java.util.Collection<?> coll)
public void clear()
public void add(int index,
E element)
public E remove(int index)
public boolean addAll(int index,
java.util.Collection<? extends E> c)
public java.util.Iterator<E> iterator()
public java.util.ListIterator<E> listIterator(int index)