query: How to prevent accidental modification of an array from the method? Without making the array immutable
positive_passages.docid: 153553
positive_passages.text: Are immutable arrays possible in .NET?
negative_passages.docid: 106257
negative_passages.text: What are the possible problems caused by adding elements to unsynchronized ArrayList's object by multiple threads simultaneously?
negative_passages.docid: 22601
negative_passages.text: Why doesn’t deleting from a Javascript array change its length?
negative_passages.docid: 52076
negative_passages.text: Why is an ArrayList parameter modified, but not a String parameter?
negative_passages.docid: 4760
negative_passages.text: Modifying list while iterating
negative_passages.docid: 133142
negative_passages.text: JavaScript: What dangers are in extending Array.prototype?
negative_passages.docid: 10867
negative_passages.text: How to avoid ArrayIndexOutOfBoundsException or IndexOutOfBoundsException?
negative_passages.docid: 122217
negative_passages.text: String is immutable. What exactly is the meaning?
negative_passages.docid: 150778
negative_passages.text: How can I cyclically shift an array without additional heap memory?
negative_passages.docid: 156253
negative_passages.text: Why is a method not identical to itself?
negative_passages.docid: 80807
negative_passages.text: Is a Java string really immutable?
negative_passages.docid: 44037
negative_passages.text: Are arrays or lists passed by default by reference in c#?
negative_passages.docid: 53545
negative_passages.text: Do I need to synchronize access to immutable types in Java?
negative_passages.docid: 9312
negative_passages.text: How dangerous is it to access an array out of bounds?
negative_passages.docid: 93401
negative_passages.text: Is it possible to delete a non-new object?
negative_passages.docid: 29351
negative_passages.text: Getting a ConcurrentModificationException thrown when removing an element from a java.util.List during list iteration?
negative_passages.docid: 112679
negative_passages.text: Why can I add named properties to an array as if it were an object?