Android Utililty Methods Array to Primitive Type Convert

List of utility methods to do Array to Primitive Type Convert

Description

The list of methods to do Array to Primitive Type Convert are organized into topic(s).

Method

char[]toCharArray(Object[] array)
to Char Array
boolean[]toPrimitive(Boolean[] array)

Converts an array of object Booleans to primitives.

This method returns null for a null input array.

boolean[]toPrimitive(Boolean[] array, boolean valueForNull)

Converts an array of object Booleans to primitives handling null.

This method returns null for a null input array.

byte[]toPrimitive(Byte[] array)

Converts an array of object Bytes to primitives.

This method returns null for a null input array.

byte[]toPrimitive(Byte[] array, byte valueForNull)

Converts an array of object Bytes to primitives handling null.

This method returns null for a null input array.

char[]toPrimitive(Character[] array)

Converts an array of object Characters to primitives.

This method returns null for a null input array.

char[]toPrimitive(Character[] array, char valueForNull)

Converts an array of object Character to primitives handling null.

This method returns null for a null input array.

double[]toPrimitive(Double[] array)

Converts an array of object Doubles to primitives.

This method returns null for a null input array.

double[]toPrimitive(Double[] array, double valueForNull)

Converts an array of object Doubles to primitives handling null.

This method returns null for a null input array.

float[]toPrimitive(Float[] array)

Converts an array of object Floats to primitives.

This method returns null for a null input array.