public abstract class ArrayUtils extends Object
Constructor and Description |
---|
ArrayUtils() |
Modifier and Type | Method and Description |
---|---|
static Object[] |
insert(Object[] originalArray,
int pos,
Object element)
Insert an element into an array.
|
static Object[] |
remove(Object[] originalArray,
int pos)
Remove element from an array.
|
public static Object[] insert(Object[] originalArray, int pos, Object element)
originalArray
- array to insert intopos
- position at which to insert the elementelement
- element to add