-
Creates an Allocator for arrays of the given class.
static <T> T[]
Creates a copy of orig with one extra value added at the end.
static <T> T[]
Replace the last value in orig (which cannot be empty) with assignValue
and also append appendValue to the end.
static <T> T[]
Deletes the node at index and sets the value of the resulting array at index
to newNode.
static <T> T[]
Replace the value at index with assignValue and insert insertValue immediately at index + 1.
static <T> T[]
Creates a new array containing all the values of a followed by all the values of b.
static <T> T[]
Creates a copy of orig with one value deleted at index.
static <T> T[]
Creates a copy of orig with one extra value inserted at index.
static <T> T[]
Returns a copy of orig containing of length limit containing all values from [0,limit).
static <T> T[]
Returns a copy of orig containing of length limit+1 containing all values from [0,limit)
but with value inserted at index and values after that shifted to the right.
static <T> T[]
static <T> T[]
Allocate a new array containing the subarray of orig starting at offset and ending before limit.
static <T> T[]
Allocate an array containing values from a logical array formed by concatenating the two input arrays.
static <T> T[]
Returns a copy of orig containing of length orig.length-offset containing all values from [offset,orig.length).
static <T> T[]
Returns a copy of orig containing of length orig.length-offset containing all values from [offset,orig.length)
but with value inserted at index relative to orig (index-offset relative to resulting array) and all values
past that point shifted to the right.