nextapp.echo2.app.util
Class ResizingArrayList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
nextapp.echo2.app.util.ResizingArrayList
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable
- public class ResizingArrayList
- extends java.util.ArrayList
An 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.
- See Also:
- Serialized Form
| Fields inherited from class java.util.AbstractList |
modCount |
|
Method Summary |
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)
|
| Methods inherited from class java.util.ArrayList |
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, removeRange, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
ResizingArrayList
public ResizingArrayList()
add
public void add(int i,
java.lang.Object o)
- See Also:
List.add(int, java.lang.Object)
remove
public java.lang.Object remove(int i)
- See Also:
List.remove(int)
remove
public boolean remove(java.lang.Object o)
- See Also:
Collection.remove(java.lang.Object)
set
public java.lang.Object set(int i,
java.lang.Object o)
- See Also:
List.add(int, java.lang.Object)