Android Utililty Methods Array Move

List of utility methods to do Array Move

Description

The list of methods to do Array Move are organized into topic(s).

Method

voidarrayMoveWithin(Object[] array, int moveFrom, int moveTo, int numToMove)
Moves a number of entries in an array to another point in the array, shifting those inbetween as required.
if (numToMove <= 0) {
    return;
if (moveFrom == moveTo) {
    return;
if (moveFrom < 0 || moveFrom >= array.length) {
    throw new IllegalArgumentException(
...