
public final class PrimitiveArrays extends Object
| Modifier | Constructor and Description |
|---|---|
private |
PrimitiveArrays() |
| Modifier and Type | Method and Description |
|---|---|
static boolean[] |
toBooleanArray(byte[] in)
Copies the input array into a new array, casting the type if necessary.
|
static boolean[] |
toBooleanArray(char[] in)
Copies the input array into a new array, casting the type if necessary.
|
static boolean[] |
toBooleanArray(double[] in)
Copies the input array into a new array, casting the type if necessary.
|
static boolean[] |
toBooleanArray(float[] in)
Copies the input array into a new array, casting the type if necessary.
|
static boolean[] |
toBooleanArray(int[] in)
Copies the input array into a new array, casting the type if necessary.
|
static boolean[] |
toBooleanArray(long[] in)
Copies the input array into a new array, casting the type if necessary.
|
static boolean[] |
toBooleanArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
static boolean[] |
toBooleanArray(short[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(boolean[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(char[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(double[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(float[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(int[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(long[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
static byte[] |
toByteArray(short[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(boolean[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(byte[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(double[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(float[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(int[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(long[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
static char[] |
toCharArray(short[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(boolean[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(byte[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(char[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(float[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(int[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(long[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
static double[] |
toDoubleArray(short[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(boolean[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(byte[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(char[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(double[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(int[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(long[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
static float[] |
toFloatArray(short[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(boolean[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(byte[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(char[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(double[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(float[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(long[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
static int[] |
toIntArray(short[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(boolean[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(byte[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(char[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(double[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(float[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(int[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
static long[] |
toLongArray(short[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(boolean[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(byte[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(char[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(double[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(float[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(int[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(long[] in)
Copies the input array into a new array, casting the type if necessary.
|
static short[] |
toShortArray(Number[] in)
Copies the input array into a new array, casting the type if necessary.
|
public static byte[] toByteArray(short[] in)
in - the input arraypublic static byte[] toByteArray(char[] in)
in - the input arraypublic static byte[] toByteArray(int[] in)
in - the input arraypublic static byte[] toByteArray(long[] in)
in - the input arraypublic static byte[] toByteArray(float[] in)
in - the input arraypublic static byte[] toByteArray(double[] in)
in - the input arraypublic static byte[] toByteArray(boolean[] in)
in - the input arraypublic static byte[] toByteArray(Number[] in)
in - the input arraypublic static short[] toShortArray(byte[] in)
in - the input arraypublic static short[] toShortArray(char[] in)
in - the input arraypublic static short[] toShortArray(int[] in)
in - the input arraypublic static short[] toShortArray(long[] in)
in - the input arraypublic static short[] toShortArray(float[] in)
in - the input arraypublic static short[] toShortArray(double[] in)
in - the input arraypublic static short[] toShortArray(boolean[] in)
in - the input arraypublic static short[] toShortArray(Number[] in)
in - the input arraypublic static char[] toCharArray(byte[] in)
in - the input arraypublic static char[] toCharArray(short[] in)
in - the input arraypublic static char[] toCharArray(int[] in)
in - the input arraypublic static char[] toCharArray(long[] in)
in - the input arraypublic static char[] toCharArray(float[] in)
in - the input arraypublic static char[] toCharArray(double[] in)
in - the input arraypublic static char[] toCharArray(boolean[] in)
in - the input arraypublic static char[] toCharArray(Number[] in)
in - the input arraypublic static int[] toIntArray(byte[] in)
in - the input arraypublic static int[] toIntArray(short[] in)
in - the input arraypublic static int[] toIntArray(char[] in)
in - the input arraypublic static int[] toIntArray(long[] in)
in - the input arraypublic static int[] toIntArray(float[] in)
in - the input arraypublic static int[] toIntArray(double[] in)
in - the input arraypublic static int[] toIntArray(boolean[] in)
in - the input arraypublic static int[] toIntArray(Number[] in)
in - the input arraypublic static long[] toLongArray(byte[] in)
in - the input arraypublic static long[] toLongArray(short[] in)
in - the input arraypublic static long[] toLongArray(char[] in)
in - the input arraypublic static long[] toLongArray(int[] in)
in - the input arraypublic static long[] toLongArray(float[] in)
in - the input arraypublic static long[] toLongArray(double[] in)
in - the input arraypublic static long[] toLongArray(boolean[] in)
in - the input arraypublic static long[] toLongArray(Number[] in)
in - the input arraypublic static float[] toFloatArray(byte[] in)
in - the input arraypublic static float[] toFloatArray(short[] in)
in - the input arraypublic static float[] toFloatArray(char[] in)
in - the input arraypublic static float[] toFloatArray(int[] in)
in - the input arraypublic static float[] toFloatArray(long[] in)
in - the input arraypublic static float[] toFloatArray(double[] in)
in - the input arraypublic static float[] toFloatArray(boolean[] in)
in - the input arraypublic static float[] toFloatArray(Number[] in)
in - the input arraypublic static double[] toDoubleArray(byte[] in)
in - the input arraypublic static double[] toDoubleArray(short[] in)
in - the input arraypublic static double[] toDoubleArray(char[] in)
in - the input arraypublic static double[] toDoubleArray(int[] in)
in - the input arraypublic static double[] toDoubleArray(long[] in)
in - the input arraypublic static double[] toDoubleArray(float[] in)
in - the input arraypublic static double[] toDoubleArray(boolean[] in)
in - the input arraypublic static double[] toDoubleArray(Number[] in)
in - the input arraypublic static boolean[] toBooleanArray(byte[] in)
in - the input arraypublic static boolean[] toBooleanArray(short[] in)
in - the input arraypublic static boolean[] toBooleanArray(char[] in)
in - the input arraypublic static boolean[] toBooleanArray(int[] in)
in - the input arraypublic static boolean[] toBooleanArray(long[] in)
in - the input arraypublic static boolean[] toBooleanArray(float[] in)
in - the input arraypublic static boolean[] toBooleanArray(double[] in)
in - the input arraypublic static boolean[] toBooleanArray(Number[] in)
in - the input array