This class provides methods that duplicate the functionality of ArrayList but without the space and lookup overhead of double indirection. It only supports arrays of ints. Premature optimization? It's actually here because I didn't know 1301 covered ArrayList, so shut up.
Note that this class is wildly time-inefficient and unsuitable for use with anything but the smallest arrays. Unlike ArrayList, which uses exponential doubling of allocated arrays, these methods specify a system in which the array is reallocated at every addition and deletion. This is necessary because the length field has to always be exact so that students can rely on it.
Definition at line 12 of file ArrayUtility.java.