@Internal public final class ArrayUtil extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
arrayMoveWithin(java.lang.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.
|
public static void arrayMoveWithin(java.lang.Object[] array, int moveFrom, int moveTo, int numToMove)
array
- The array to altermoveFrom
- The (0 based) index of the first entry to movemoveTo
- The (0 based) index of the positition to move tonumToMove
- The number of entries to moveCopyright 2022 The Apache Software Foundation or its licensors, as applicable.