Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    3,982

    Re: Deep copy of ArrayList?

    What happened when you tried? It shouldn't be too hard to throw together a test program that tests this out. I'm really not even sure what you're asking- you mean if you modify the Object that's in...
  2. Replies
    3
    Views
    3,982

    Re: Deep copy of ArrayList?

    Assuming that data and array are both ArrayLists, and y is some index, then the same Object will be in both ArrayLists. You can test this just by using the == operator on the references returned by...
Results 1 to 2 of 2