Android Utililty Methods Array Primitive to Object Convert

List of utility methods to do Array Primitive to Object Convert

Description

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

Method

Boolean[]toObject(boolean[] array)

Converts an array of primitive booleans to objects.

This method returns null for a null input array.

Byte[]toObject(byte[] array)

Converts an array of primitive bytes to objects.

This method returns null for a null input array.

Character[]toObject(char[] array)

Converts an array of primitive chars to objects.

This method returns null for a null input array.

Double[]toObject(double[] array)

Converts an array of primitive doubles to objects.

This method returns null for a null input array.

Float[]toObject(float[] array)

Converts an array of primitive floats to objects.

This method returns null for a null input array.

Integer[]toObject(int[] array)

Converts an array of primitive ints to objects.

This method returns null for a null input array.

Long[]toObject(long[] array)

Converts an array of primitive longs to objects.

This method returns null for a null input array.

Short[]toObject(short[] array)

Converts an array of primitive shorts to objects.

This method returns null for a null input array.

Double[]wrap(double[] value)
Converts an array of double into an array of Double .
Float[]wrap(float[] value)
Converts an array of float into an array of Float .