Java · ArrayList and wrapper classes

add at an index, set and remove

Inserting or removing one element moves every element after it, and a program that forgets this reads the wrong one.