📜  java arraylist 最大长度 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:11.582000             🧑  作者: Mango

代码示例1
The theoretical limit for ArrayList capacity is Integer. MAX_VALUE, a.k.a. 2^31 - 1, a.k.a. 2,147,483,647. But you'll probably get an OutOfMemoryError long before that time because, well, you run out of memory