Android Utililty Methods Array Clone

List of utility methods to do Array Clone

Description

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

Method

T[]clone(T[] array)

Shallow clones an array returning a typecast result and handling null.

The objects in the array are not cloned, thus there is no special handling for multi-dimensional arrays.

This method returns null for a null input array.

boolean[]clone(boolean[] array)

Clones an array returning a typecast result and handling null.

This method returns null for a null input array.

byte[]clone(byte[] array)

Clones an array returning a typecast result and handling null.

This method returns null for a null input array.

byte[]clone(byte[] data)
clone
char[]clone(char[] array)

Clones an array returning a typecast result and handling null.

This method returns null for a null input array.

double[]clone(double[] array)

Clones an array returning a typecast result and handling null.

This method returns null for a null input array.

float[]clone(float[] array)

Clones an array returning a typecast result and handling null.

This method returns null for a null input array.

int[]clone(int[] array)

Clones an array returning a typecast result and handling null.

This method returns null for a null input array.

int[]clone(int[] data)
clone
long[]clone(long[] array)

Clones an array returning a typecast result and handling null.

This method returns null for a null input array.