Android Utililty Methods Array Copy

List of utility methods to do Array Copy

Description

The list of methods to do Array Copy are organized into topic(s).

Method

voidarraycopy(byte[] src, int src_position, byte[] dst, int dst_position, int length)
This is really a debugging version of System.arraycopy().
double[]copy(double[] dataToCopy)
copy
ObjectcopyArrayGrow1(Object array, Class newArrayComponentType)
Returns a copy of the given array of size 1 greater than the argument.
ObjectcopyOf(Object src)
copy Of
String[]copyOf(String[] obj)
copy Of
String[]copyOf(String[] obj, int newSize)
copy Of
T[]copyOf(T[] original)
Copy the specified array.
T[]copyOf(T[] original, int newLength)
Copy the specified array.
T[]copyOf(T[] source, T[] result)
Copies the specified array into specified result array, truncating or padding with zeros (if necessary) so the copy has the specified length.
boolean[]copyOf(boolean[] obj)
copy Of