63c7740fd6fe6673127eedbcc64648009e9903bd
The field 'index' describes two things: 1. the index the next element will be added to 2. the size of the list Most methods use the second meaning.
Java collections for primitives (currently only int) released under MIT license.
IntList is an implementation of a list to store primitive integers. You can add, insert, replace and remove elements in the list. The ints are stored in an int array and the class takes care of growing the array as needed. You can trim the list to reduce the memory overhead.
Languages
Java
99.9%
Shell
0.1%