Adding Object to a Vector

Lane Sharman lane at opendoors.com
Tue May 11 10:12:13 PDT 2004


Jayprakash,

You can always look at the source code for any java class. That is the 
best place. There, you will see that the backing store for a Vector is a 
java array.

-Lane

Jayprakash_Gonella wrote:

>Hi,
>     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?
>
>thanks and regards,
>-jayprakash
>************************************************************************** 
>This email (including any attachments) is intended for the sole use of the
>intended recipient/s and may contain material that is CONFIDENTIAL AND
>PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
>distribution or forwarding of any or all of the contents in this message is
>STRICTLY PROHIBITED. If you are not the intended recipient, please contact
>the sender by email and delete all copies; your cooperation in this regard
>is appreciated.
>**************************************************************************
>_______________________________________________
>freebsd-java at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-java
>To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>
>  
>

-- 
Lane Sharman
Providing Private and SPAM-Free Email
http://www.opendoors.com
858-755-2868





More information about the freebsd-java mailing list