|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.ArrayList | +--com.aragost.util.ExpandingArrayList
Works like an java.util.ArrayList
except it will
automatically expand if reference is made to entries beyond
the end.
Field Summary |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
ExpandingArrayList()
|
Method Summary | |
java.lang.Object |
get(int index)
|
java.lang.Object |
set(int index,
java.lang.Object element)
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, 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, remove, 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, remove, removeAll, retainAll, subList |
Constructor Detail |
public ExpandingArrayList()
Method Detail |
public java.lang.Object get(int index)
get
in interface java.util.List
get
in class java.util.ArrayList
List.get(int)
public java.lang.Object set(int index, java.lang.Object element)
set
in interface java.util.List
set
in class java.util.ArrayList
List.set(int, Object)
|
Copyright 2002 by aragost | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |