query: ArrayList initial capacity and IndexOutOfBoundsException
positive_passages.docid: 28343
positive_passages.text: Initial size for the ArrayList
negative_passages.docid: 116529
negative_passages.text: Maximum size of an array - Type mismatch: cannot convert from long to int
negative_passages.docid: 69622
negative_passages.text: Why does Java uses heap for memory allocation?
negative_passages.docid: 16650
negative_passages.text: .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?
negative_passages.docid: 55951
negative_passages.text: Passing arraylist of objects between activities
negative_passages.docid: 133366
negative_passages.text: serialization ArrayList Java
negative_passages.docid: 73924
negative_passages.text: Create an Array of Arraylists
negative_passages.docid: 16864
negative_passages.text: Where is Java's Array indexOf?
negative_passages.docid: 16461
negative_passages.text: How to initialize an array in Java?
negative_passages.docid: 101781
negative_passages.text: MemoryStream usage leads to out of memory exception
negative_passages.docid: 6234
negative_passages.text: Why is a ConcurrentModificationException thrown and how to debug it
negative_passages.docid: 155957
negative_passages.text: Method causes OutOfMemory error
negative_passages.docid: 9312
negative_passages.text: How dangerous is it to access an array out of bounds?
negative_passages.docid: 59144
negative_passages.text: How much memory is allocated for one Integer object in Java? How to find out this value for any custom object?
negative_passages.docid: 115499
negative_passages.text: Java: Best way to store to an arbitrary index of an ArrayList
negative_passages.docid: 103457
negative_passages.text: Java dynamic array sizes?
negative_passages.docid: 73470
negative_passages.text: Java: Initialize ArrayList in field OR constructor?