Vector in Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fahime
    New Member
    • Nov 2006
    • 1

    #1

    Vector in Java

    Hi
    1.I want to know how vectors are stored in memorey in Java.(sequentia l representation or linked representation)
    2.if linked representation how it give us random access to vector.

    (I dont know English very well and I appologize for my mistakes in this text.)
  • horace1
    Recognized Expert Top Contributor
    • Nov 2006
    • 1510

    #2
    Originally posted by Fahime
    Hi
    1.I want to know how vectors are stored in memorey in Java.(sequentia l representation or linked representation)
    2.if linked representation how it give us random access to vector.

    (I dont know English very well and I appologize for my mistakes in this text.)
    There is a good discussion comparing the Java Vector and ArrayList classes on
    http://www.onjava.com/pub/a/onjava/2001/05/30/optimization.ht ml

    Comment

    Working...