5006581cf09ab6846f47ddd39cf0f820b548a3e6
ensureCapacity would allocate up to 50% too much memory
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%