Search:

Type: Posts; User: dlorde

Search: Search took 0.35 seconds.

  1. Replies
    14
    Views
    4,763

    Re: Array object and constructors

    Thing is, ArrayLists and Hashtables are for quite different uses. ArrayLists are just easy-to-use dynamic arrays, whereas Hashtables are keyed collections for mapping values onto unique keys...

    I...
  2. Replies
    14
    Views
    4,763

    Re: Array object and constructors

    It's all documented in the ArrayList API docs...
  3. Replies
    14
    Views
    4,763

    Re: Array object and constructors

    Not exactly. The constructor argument specifies the initial capacity - you can still add as many more items as will fit in memory. Use the initial capacity to improve efficiency when you know roughly...
Results 1 to 3 of 3