Collection of methods for manipulating arrays of primitives