public final class ArrayConversion extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getByteArray(byte[] in)
returns a type-converted copy of the input vector
|
static byte[] |
getByteArray(double[] in)
returns a type-converted copy of the input vector
|
static byte[] |
getByteArray(float[] in)
returns a type-converted copy of the input vector
|
static byte[] |
getByteArray(int[] in)
returns a type-converted copy of the input vector
|
static byte[] |
getByteArray(long[] in)
returns a type-converted copy of the input vector
|
static byte[] |
getByteArray(short[] in)
returns a type-converted copy of the input vector
|
static double[][] |
getDouble2DArray(float[][] in)
returns a type-converted copy of the input matrix
|
static double[] |
getDoubleArray(byte[] in)
returns a type-converted copy of the input vector
|
static double[] |
getDoubleArray(double[] in)
returns a type-converted copy of the input vector
|
static double[] |
getDoubleArray(float[] in)
returns a type-converted copy of the input vector
|
static double[] |
getDoubleArray(int[] in)
returns a type-converted copy of the input vector
|
static double[] |
getDoubleArray(long[] in)
returns a type-converted copy of the input vector
|
static double[] |
getDoubleArray(short[] in)
returns a type-converted copy of the input vector
|
static float[][] |
getFloat2DArray(double[][] in)
returns a type-converted copy of the input matrix
|
static float[] |
getFloatArray(byte[] in)
returns a type-converted copy of the input vector
|
static float[] |
getFloatArray(double[] in)
returns a type-converted copy of the input vector
|
static float[] |
getFloatArray(float[] in)
returns a type-converted copy of the input vector
|
static float[] |
getFloatArray(int[] in)
returns a type-converted copy of the input vector
|
static float[] |
getFloatArray(long[] in)
returns a type-converted copy of the input vector
|
static float[] |
getFloatArray(short[] in)
returns a type-converted copy of the input vector
|
static int[] |
getIntegerArray(byte[] in)
returns a type-converted copy of the input vector
|
static int[] |
getIntegerArray(double[] in)
returns a type-converted copy of the input vector
|
static int[] |
getIntegerArray(float[] in)
returns a type-converted copy of the input vector
|
static int[] |
getIntegerArray(int[] in)
returns a type-converted copy of the input vector
|
static int[] |
getIntegerArray(long[] in)
returns a type-converted copy of the input vector
|
static int[] |
getIntegerArray(short[] in)
returns a type-converted copy of the input vector
|
static long[] |
getLongArray(byte[] in)
returns a type-converted copy of the input vector
|
static long[] |
getLongArray(double[] in)
returns a type-converted copy of the input vector
|
static long[] |
getLongArray(float[] in)
returns a type-converted copy of the input vector
|
static long[] |
getLongArray(int[] in)
returns a type-converted copy of the input vector
|
static long[] |
getLongArray(long[] in)
returns a type-converted copy of the input vector
|
static long[] |
getLongArray(short[] in)
returns a type-converted copy of the input vector
|
static short[] |
getShortArray(byte[] in)
returns a type-converted copy of the input vector
|
static short[] |
getShortArray(double[] in)
returns a type-converted copy of the input vector
|
static short[] |
getShortArray(float[] in)
returns a type-converted copy of the input vector
|
static short[] |
getShortArray(int[] in)
returns a type-converted copy of the input vector
|
static short[] |
getShortArray(long[] in)
returns a type-converted copy of the input vector
|
static short[] |
getShortArray(short[] in)
returns a type-converted copy of the input vector
|
public static byte[] getByteArray(byte[] in)
in - a byte arraypublic static byte[] getByteArray(double[] in)
in - a double arraypublic static byte[] getByteArray(float[] in)
in - a float arraypublic static byte[] getByteArray(int[] in)
in - a integer arraypublic static byte[] getByteArray(long[] in)
in - a long integer arraypublic static byte[] getByteArray(short[] in)
in - a short integer arraypublic static double[][] getDouble2DArray(float[][] in)
in - a float 2D arraypublic static double[] getDoubleArray(byte[] in)
in - an byte arraypublic static double[] getDoubleArray(double[] in)
in - a double arraypublic static double[] getDoubleArray(float[] in)
in - a float arraypublic static double[] getDoubleArray(int[] in)
in - an integer arraypublic static double[] getDoubleArray(long[] in)
in - a long integer arraypublic static double[] getDoubleArray(short[] in)
in - an short integer arraypublic static float[][] getFloat2DArray(double[][] in)
in - a double 2D arraypublic static float[] getFloatArray(byte[] in)
in - a byte arraypublic static float[] getFloatArray(double[] in)
in - a double arraypublic static float[] getFloatArray(float[] in)
in - a float arraypublic static float[] getFloatArray(int[] in)
in - a integer arraypublic static float[] getFloatArray(long[] in)
in - a long integer arraypublic static float[] getFloatArray(short[] in)
in - a short integer arraypublic static int[] getIntegerArray(byte[] in)
in - a byte arraypublic static int[] getIntegerArray(double[] in)
in - a double arraypublic static int[] getIntegerArray(float[] in)
in - a float arraypublic static int[] getIntegerArray(int[] in)
in - a integer arraypublic static int[] getIntegerArray(long[] in)
in - a long integer arraypublic static int[] getIntegerArray(short[] in)
in - a short integer arraypublic static long[] getLongArray(byte[] in)
in - a byte arraypublic static long[] getLongArray(double[] in)
in - a double arraypublic static long[] getLongArray(float[] in)
in - a float arraypublic static long[] getLongArray(int[] in)
in - a integer arraypublic static long[] getLongArray(long[] in)
in - a long integer arraypublic static long[] getLongArray(short[] in)
in - a short integer arraypublic static short[] getShortArray(byte[] in)
in - a short integer arraypublic static short[] getShortArray(double[] in)
in - a double arraypublic static short[] getShortArray(float[] in)
in - a float arraypublic static short[] getShortArray(int[] in)
in - a integer arraypublic static short[] getShortArray(long[] in)
in - a long integer arraypublic static short[] getShortArray(short[] in)
in - a short integer arrayCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.