Adding Object to a Vector
cedric at berger.to
Tue May 11 03:59:25 PDT 2004
Jan Grant wrote:
>On Tue, 11 May 2004, Achilleus Mantzios wrote:
>>O kyrios Jayprakash_Gonella egrapse stis May 11, 2004 :
>>> May this is not the proper forum for my question.
>>>Can any body explain the internal representation (memory-wise) of a Vector
>>>in Java? How does a Vector class implement a growable array of objects?
By looking at that function:
You can guess that the vector has a backing array of |initialCapacity,
and when that array is too small, a new array ||capacityIncrement bigger
More information about the freebsd-java