public class ArrayUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T[] |
alloc(Class<T> cls,
int n)
Allocate an array of generic type T (initialized to null)
|
static <T> T[] |
copy(T[] array)
Allocation space and copy
|
static <T> T[] |
copy(T[] array,
int start,
int finish)
Allocation space and copy
|
public static <T> T[] alloc(Class<T> cls, int n)
public static <T> T[] copy(T[] array)
public static <T> T[] copy(T[] array, int start, int finish)
Licenced under the Apache License, Version 2.0