Glossary: Data Structures and Algorithms in Java
capacity
The number of slots an ArrayList has reserved, including spare ones at the end. When they run out, it moves everything to a bigger block.
Glossary: Data Structures and Algorithms in Java
The number of slots an ArrayList has reserved, including spare ones at the end. When they run out, it moves everything to a bigger block.