Tuesday, June 29, 2010

List size versus List Capacity

The capacity is the "potential size" and size is the "actual number of elements".
Note that most List implementations will grow past the initial capacity.