| java.util.ArrayList net.kildenpedersen.util.ExpandingArrayList
ExpandingArrayList | final public class ExpandingArrayList extends ArrayList (Code) | | A flexible ArrayList.
Allows setting and adding of arbitrary indexed positions.
Will automatically expand list with null if index is less than size.
author: Nils Kilden-Pedersen |
Method Summary | |
public void | add(int index, Object element) Add element at index, and expand list if necessary. | public boolean | addAll(int index, Collection c) | public Object | get(int index) | public Object | set(int index, Object element) Set element at index, and expand list if necessary. |
ExpandingArrayList | public ExpandingArrayList()(Code) | | |
ExpandingArrayList | public ExpandingArrayList(int initialCapacity)(Code) | | Parameters: initialCapacity - |
|
|