public class ResizingArrayList
extends java.util.ArrayList
ArrayList based collection which automatically increases and
decreases in size (by adding/removing trailing nulls) to allow the ability
to invoke add() and set() methods to store
values at indices beyond the current size of the collection.| Constructor and Description |
|---|
ResizingArrayList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int i,
java.lang.Object o) |
java.lang.Object |
remove(int i) |
boolean |
remove(java.lang.Object o) |
java.lang.Object |
set(int i,
java.lang.Object o) |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeRange, retainAll, size, subList, toArray, toArray, trimToSizepublic void add(int i,
java.lang.Object o)
add in interface java.util.Listadd in class java.util.ArrayListList.add(int, java.lang.Object)public java.lang.Object remove(int i)
remove in interface java.util.Listremove in class java.util.ArrayListList.remove(int)public boolean remove(java.lang.Object o)
remove in interface java.util.Collectionremove in interface java.util.Listremove in class java.util.ArrayListCollection.remove(java.lang.Object)public java.lang.Object set(int i,
java.lang.Object o)
set in interface java.util.Listset in class java.util.ArrayListList.add(int, java.lang.Object)