public class AutoExpandVector<T> extends ArrayList<T> implements MOAObject
modCount| Constructor and Description |
|---|
AutoExpandVector() |
AutoExpandVector(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int pos,
T obj) |
boolean |
add(T arg0) |
boolean |
addAll(Collection<? extends T> arg0) |
boolean |
addAll(int arg0,
Collection<? extends T> arg1) |
void |
clear() |
MOAObject |
copy()
This method produces a copy of this object.
|
T |
get(int pos) |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
int |
measureByteSize()
Gets the memory size of this object.
|
T |
remove(int arg0) |
boolean |
remove(Object arg0) |
protected void |
removeRange(int arg0,
int arg1) |
T |
set(int pos,
T obj) |
clone, contains, ensureCapacity, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, retainAll, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic AutoExpandVector()
public AutoExpandVector(int size)
public void add(int pos,
T obj)
public T get(int pos)
public boolean add(T arg0)
public boolean addAll(Collection<? extends T> arg0)
public boolean addAll(int arg0,
Collection<? extends T> arg1)
public void clear()
public T remove(int arg0)
public boolean remove(Object arg0)
protected void removeRange(int arg0,
int arg1)
removeRange in class ArrayList<T>public MOAObject copy()
MOAObjectpublic int measureByteSize()
MOAObjectmeasureByteSize in interface MOAObjectpublic void getDescription(StringBuilder sb, int indent)
MOAObjectAbstractMOAObject.toString
to give a string representation of the object.getDescription in interface MOAObjectsb - the stringbuilder to add the descriptionindent - the number of characters to indentCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.