int size - The number of elements in the list.
int capacity - The number of array positions allocated.
T* element - A pointer to the first array element.
size are stored in array positions
element[0], element[1], ..., element[size - 1].
capacity >= 0.
size >= 0 and size <= capacity.
capacity == 0, then element == NULL.
capacity > 0, then element != NULL.
arraylist.h (original),
arraylist.h (copy),
ListTest.cpp

This page was last modified on Feb 22, 2001
URL: http://people.hsc.edu/faculty-staff/robbk/Coms262/Lectures/ArrayLists.html