Package org.apache.poi.util
Class ArrayUtil
java.lang.Object
org.apache.poi.util.ArrayUtil
Utility classes for dealing with arrays.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Method Details
-
arrayMoveWithin
Moves a number of entries in an array to another point in the array, shifting those inbetween as required.- Parameters:
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 move
-