Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.12 seconds.

  1. Replies
    14
    Views
    9,445

    Re: How to use this 2d ArrayList class?

    But doesn't a soft copy keep the references? The constructor I used above allows you to edit values of one array without changing the values of the other array. Wouldn't that mean it isn't a soft...
  2. Replies
    14
    Views
    9,445

    Re: How to use this 2d ArrayList class?

    Wait, wait, wait.

    Are you trying to create an independent copy of an ArrayList? That is very simple, just use the ArrayList(Collection<? extends E> c) constructor.

    Here is some sample code that...
Results 1 to 2 of 2