query: Java - ArrayList altering my data. Why?
positive_passages.docid: 599
positive_passages.text: Is Java "pass-by-reference" or "pass-by-value"?
negative_passages.docid: 13500
negative_passages.text: How do I remove repeated elements from ArrayList?
negative_passages.docid: 145851
negative_passages.text: How to sort an arraylist of objects java?
negative_passages.docid: 1215
negative_passages.text: List changes unexpectedly after assignment. Why is this and how to prevent it?
negative_passages.docid: 138381
negative_passages.text: Why typical Array List implementations aren't double-ended?
negative_passages.docid: 15837
negative_passages.text: Array in Java program bizarre behaviour
negative_passages.docid: 146322
negative_passages.text: ArrayList contains case sensitivity
negative_passages.docid: 137018
negative_passages.text: Weirdness in Equated Java Arrays: References vs. Pointers
negative_passages.docid: 59686
negative_passages.text: make arrayList.toArray() return more specific types
negative_passages.docid: 142694
negative_passages.text: What happens if NSMutableArray is modified by multiple threads at the same time? (if the objects it contains are retained elsewhere)
negative_passages.docid: 146374
negative_passages.text: Converting array to list in Java
negative_passages.docid: 15113
negative_passages.text: How to use an array list in Java?
negative_passages.docid: 98976
negative_passages.text: Java Sorting object in ArrayList
negative_passages.docid: 13513
negative_passages.text: How "remove" function works for ArrayList while iterating using for-each loop?
negative_passages.docid: 28147
negative_passages.text: java: (String[])List.toArray() gives ClassCastException
negative_passages.docid: 36203
negative_passages.text: Why isn't ArrayList marked [Obsolete]?
negative_passages.docid: 47176
negative_passages.text: Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])