Top Description Constructors Methods
org.apache.poi.util

public final Class ArrayUtil

extends Object
Class Inheritance
Annotations
@Internal
Imports
java.util.Arrays

Utility classes for dealing with arrays.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
arrayMoveWithin(Object[]
The array to alter
array
,
int
The (0 based) index of the first entry to move
moveFrom
,
int
The (0 based) index of the positition to move to
moveTo
,
int
The number of entries to move
numToMove
)

Moves a number of entries in an array to another point in the array, shifting those inbetween as required.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ArrayUtilback to summary
private ArrayUtil()

Method Detail

arrayMoveWithinback to summary
public static void arrayMoveWithin(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.

Parameters
array:Object[]

The array to alter

moveFrom:int

The (0 based) index of the first entry to move

moveTo:int

The (0 based) index of the positition to move to

numToMove:int

The number of entries to move