public class Array2DUtil extends java.lang.Object
Constructor and Description |
---|
Array2DUtil() |
Modifier and Type | Method and Description |
---|---|
static byte[][] |
allocIfNull(byte[][] out,
int len)
Allocate the specified 2D array if it's defined to null with the specified len
|
static double[][] |
allocIfNull(double[][] out,
int len)
Allocate the specified 2D array if it's defined to null with the specified len
|
static float[][] |
allocIfNull(float[][] out,
int len)
Allocate the specified 2D array if it's defined to null with the specified len
|
static int[][] |
allocIfNull(int[][] out,
int len)
Allocate the specified 2D array if it's defined to null with the specified len
|
static long[][] |
allocIfNull(long[][] out,
int len)
Allocate the specified 2D array if it's defined to null with the specified len
|
static short[][] |
allocIfNull(short[][] out,
int len)
Allocate the specified 2D array if it's defined to null with the specified len
|
static boolean |
arrayByteCompare(byte[][] array1,
byte[][] array2)
Return true is the specified arrays are equals
|
static boolean |
arrayDoubleCompare(double[][] array1,
double[][] array2)
Return true is the specified arrays are equals
|
static boolean |
arrayFloatCompare(float[][] array1,
float[][] array2)
Return true is the specified arrays are equals
|
static boolean |
arrayIntCompare(int[][] array1,
int[][] array2)
Return true is the specified arrays are equals
|
static boolean |
arrayLongCompare(long[][] array1,
long[][] array2)
Return true is the specified arrays are equals
|
static boolean |
arrayShortCompare(short[][] array1,
short[][] array2)
Return true is the specified arrays are equals
|
static java.lang.Object |
arrayToArray(java.lang.Object in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' 2D array in 'out' 2D array type.
|
static java.lang.Object |
arrayToArray(java.lang.Object in,
java.lang.Object out,
boolean signed)
Convert and return the 'in' 2D array in 'out' 2D array type.
|
static byte[][] |
arrayToByteArray(java.lang.Object in)
Convert and return the 'in' array as a byte array.
|
static byte[][] |
arrayToByteArray(java.lang.Object in,
byte[][] out)
Convert and return the 'in' array in 'out' byte array.
|
static byte[][] |
arrayToByteArray(java.lang.Object in,
int inOffset,
byte[][] out,
int outOffset,
int length)
Convert and return the 'in' array in 'out' byte array.
|
static double[][] |
arrayToDoubleArray(java.lang.Object in,
boolean signed)
Convert and return the 'in' array as a double array.
|
static double[][] |
arrayToDoubleArray(java.lang.Object in,
double[][] out,
boolean signed)
Convert and return the 'in' array in 'out' double array.
|
static double[][] |
arrayToDoubleArray(java.lang.Object in,
int inOffset,
double[][] out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' array in 'out' double array.
|
static float[][] |
arrayToFloatArray(java.lang.Object in,
boolean signed)
Convert and return the 'in' array as a float array.
|
static float[][] |
arrayToFloatArray(java.lang.Object in,
float[][] out,
boolean signed)
Convert and return the 'in' array in 'out' float array.
|
static float[][] |
arrayToFloatArray(java.lang.Object in,
int inOffset,
float[][] out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' array in 'out' float array.
|
static int[][] |
arrayToIntArray(java.lang.Object in,
boolean signed)
Convert and return the 'in' array as a int array.
|
static int[][] |
arrayToIntArray(java.lang.Object in,
int[][] out,
boolean signed)
Convert and return the 'in' array in 'out' int array.
|
static int[][] |
arrayToIntArray(java.lang.Object in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' array in 'out' int array.
|
static byte[][] |
arrayToSafeByteArray(java.lang.Object in,
byte[][] out,
boolean signed)
Deprecated.
|
static byte[][] |
arrayToSafeByteArray(java.lang.Object in,
byte[][] out,
boolean srcSigned,
boolean dstSigned) |
static byte[][] |
arrayToSafeByteArray(java.lang.Object in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static byte[][] |
arrayToSafeByteArray(java.lang.Object in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static int[][] |
arrayToSafeIntArray(java.lang.Object in,
int[][] out,
boolean signed)
Deprecated.
|
static int[][] |
arrayToSafeIntArray(java.lang.Object in,
int[][] out,
boolean srcSigned,
boolean dstSigned) |
static int[][] |
arrayToSafeIntArray(java.lang.Object in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static int[][] |
arrayToSafeIntArray(java.lang.Object in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static long[][] |
arrayToSafeLongArray(java.lang.Object in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static long[][] |
arrayToSafeLongArray(java.lang.Object in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static long[][] |
arrayToSafeLongArray(java.lang.Object in,
long[][] out,
boolean signed)
Deprecated.
|
static long[][] |
arrayToSafeLongArray(java.lang.Object in,
long[][] out,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
arrayToSafeShortArray(java.lang.Object in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static short[][] |
arrayToSafeShortArray(java.lang.Object in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
arrayToSafeShortArray(java.lang.Object in,
short[][] out,
boolean signed)
Deprecated.
|
static short[][] |
arrayToSafeShortArray(java.lang.Object in,
short[][] out,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
arrayToShortArray(java.lang.Object in,
boolean signed)
Convert and return the 'in' array as a short array.
|
static short[][] |
arrayToShortArray(java.lang.Object in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' array in 'out' short array.
|
static short[][] |
arrayToShortArray(java.lang.Object in,
short[][] out,
boolean signed)
Convert and return the 'in' array in 'out' short array.
|
static java.lang.Object |
byteArrayToArray(byte[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' byte array in 'out' array type.
|
static java.lang.Object |
byteArrayToArray(byte[][] in,
java.lang.Object out,
boolean signed)
Convert and return the 'in' byte array in 'out' array type.
|
static byte[][] |
byteArrayToByteArray(byte[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length) |
static double[][] |
byteArrayToDoubleArray(byte[][] array,
boolean signed) |
static double[][] |
byteArrayToDoubleArray(byte[][] in,
int inOffset,
double[][] out,
int outOffset,
int length,
boolean signed) |
static float[][] |
byteArrayToFloatArray(byte[][] array,
boolean signed) |
static float[][] |
byteArrayToFloatArray(byte[][] in,
int inOffset,
float[][] out,
int outOffset,
int length,
boolean signed) |
static int[][] |
byteArrayToIntArray(byte[][] array,
boolean signed) |
static int[][] |
byteArrayToIntArray(byte[][] in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean signed) |
static long[][] |
byteArrayToLongArray(byte[][] in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean signed) |
static java.lang.Object |
byteArrayToSafeArray(byte[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static java.lang.Object |
byteArrayToSafeArray(byte[][] in,
java.lang.Object out,
boolean srcSigned,
boolean dstSigned) |
static byte[][] |
byteArrayToSafeByteArray(byte[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
byteArrayToShortArray(byte[][] array,
boolean signed) |
static short[][] |
byteArrayToShortArray(byte[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean signed) |
static java.lang.Object[] |
createArray(DataType dataType,
int len)
Create a new 2D array with specified data type and length
|
static java.lang.Object[] |
createArray(int dataType,
int len)
Deprecated.
|
static java.lang.Object |
doubleArrayToArray(double[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length)
Convert and return the 'in' double array in 'out' array type.
|
static java.lang.Object |
doubleArrayToArray(double[][] in,
java.lang.Object out)
Convert and return the 'in' double array in 'out' array type.
|
static byte[][] |
doubleArrayToByteArray(double[][] array) |
static byte[][] |
doubleArrayToByteArray(double[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length) |
static double[][] |
doubleArrayToDoubleArray(double[][] in,
int inOffset,
double[][] out,
int outOffset,
int length) |
static float[][] |
doubleArrayToFloatArray(double[][] array) |
static float[][] |
doubleArrayToFloatArray(double[][] in,
int inOffset,
float[][] out,
int outOffset,
int length) |
static int[][] |
doubleArrayToIntArray(double[][] array) |
static int[][] |
doubleArrayToIntArray(double[][] in,
int inOffset,
int[][] out,
int outOffset,
int length) |
static long[][] |
doubleArrayToLongArray(double[][] in,
int inOffset,
long[][] out,
int outOffset,
int length) |
static java.lang.Object |
doubleArrayToSafeArray(double[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed) |
static java.lang.Object |
doubleArrayToSafeArray(double[][] in,
java.lang.Object out,
boolean signed) |
static byte[][] |
doubleArrayToSafeByteArray(double[][] array,
boolean signed) |
static byte[][] |
doubleArrayToSafeByteArray(double[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean signed) |
static int[][] |
doubleArrayToSafeIntArray(double[][] array,
boolean signed) |
static int[][] |
doubleArrayToSafeIntArray(double[][] in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean signed) |
static long[][] |
doubleArrayToSafeLongArray(double[][] in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean signed) |
static short[][] |
doubleArrayToSafeShortArray(double[][] array,
boolean signed) |
static short[][] |
doubleArrayToSafeShortArray(double[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean signed) |
static short[][] |
doubleArrayToShortArray(double[][] array) |
static short[][] |
doubleArrayToShortArray(double[][] in,
int inOffset,
short[][] out,
int outOffset,
int length) |
static java.lang.Object |
floatArrayToArray(float[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length)
Convert and return the 'in' float array in 'out' array type.
|
static java.lang.Object |
floatArrayToArray(float[][] in,
java.lang.Object out)
Convert and return the 'in' float array in 'out' array type.
|
static byte[][] |
floatArrayToByteArray(float[][] array) |
static byte[][] |
floatArrayToByteArray(float[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length) |
static double[][] |
floatArrayToDoubleArray(float[][] array) |
static double[][] |
floatArrayToDoubleArray(float[][] in,
int inOffset,
double[][] out,
int outOffset,
int length) |
static float[][] |
floatArrayToFloatArray(float[][] in,
int inOffset,
float[][] out,
int outOffset,
int length) |
static int[][] |
floatArrayToIntArray(float[][] array) |
static int[][] |
floatArrayToIntArray(float[][] in,
int inOffset,
int[][] out,
int outOffset,
int length) |
static long[][] |
floatArrayToLongArray(float[][] in,
int inOffset,
long[][] out,
int outOffset,
int length) |
static java.lang.Object |
floatArrayToSafeArray(float[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed) |
static java.lang.Object |
floatArrayToSafeArray(float[][] in,
java.lang.Object out,
boolean signed) |
static byte[][] |
floatArrayToSafeByteArray(float[][] array,
boolean signed) |
static byte[][] |
floatArrayToSafeByteArray(float[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean signed) |
static int[][] |
floatArrayToSafeIntArray(float[][] array,
boolean signed) |
static int[][] |
floatArrayToSafeIntArray(float[][] in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean signed) |
static long[][] |
floatArrayToSafeLongArray(float[][] in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean signed) |
static short[][] |
floatArrayToSafeShortArray(float[][] array,
boolean signed) |
static short[][] |
floatArrayToSafeShortArray(float[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean signed) |
static short[][] |
floatArrayToShortArray(float[][] array) |
static short[][] |
floatArrayToShortArray(float[][] in,
int inOffset,
short[][] out,
int outOffset,
int length) |
static int |
getTotalLenght(byte[][] array)
Deprecated.
use
getTotalLength(byte[][]) instead |
static int |
getTotalLenght(double[][] array)
Deprecated.
use
getTotalLength(double[][]) instead |
static int |
getTotalLenght(float[][] array)
Deprecated.
use
getTotalLength(float[][]) instead |
static int |
getTotalLenght(int[][] array)
Deprecated.
use
getTotalLength(int[][]) instead |
static int |
getTotalLenght(short[][] array)
Deprecated.
use
getTotalLength(short[][]) instead |
static int |
getTotalLength(byte[][] array)
Return the total number of element of the specified array
|
static int |
getTotalLength(double[][] array)
Return the total number of element of the specified array
|
static int |
getTotalLength(float[][] array)
Return the total number of element of the specified array
|
static int |
getTotalLength(int[][] array)
Return the total number of element of the specified array
|
static int |
getTotalLength(long[][] array)
Return the total number of element of the specified array
|
static int |
getTotalLength(short[][] array)
Return the total number of element of the specified array
|
static java.lang.Object |
intArrayToArray(int[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' integer array in 'out' array type.
|
static java.lang.Object |
intArrayToArray(int[][] in,
java.lang.Object out,
boolean signed)
Convert and return the 'in' integer array in 'out' array type.
|
static byte[][] |
intArrayToByteArray(int[][] array) |
static byte[][] |
intArrayToByteArray(int[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length) |
static double[][] |
intArrayToDoubleArray(int[][] array,
boolean signed) |
static double[][] |
intArrayToDoubleArray(int[][] in,
int inOffset,
double[][] out,
int outOffset,
int length,
boolean signed) |
static float[][] |
intArrayToFloatArray(int[][] array,
boolean signed) |
static float[][] |
intArrayToFloatArray(int[][] in,
int inOffset,
float[][] out,
int outOffset,
int length,
boolean signed) |
static int[][] |
intArrayToIntArray(int[][] in,
int inOffset,
int[][] out,
int outOffset,
int length) |
static long[][] |
intArrayToLongArray(int[][] in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean signed) |
static java.lang.Object |
intArrayToSafeArray(int[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static java.lang.Object |
intArrayToSafeArray(int[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static java.lang.Object |
intArrayToSafeArray(int[][] in,
java.lang.Object out,
boolean signed)
Deprecated.
|
static java.lang.Object |
intArrayToSafeArray(int[][] in,
java.lang.Object out,
boolean srcSigned,
boolean dstSigned) |
static byte[][] |
intArrayToSafeByteArray(int[][] array,
boolean signed) |
static byte[][] |
intArrayToSafeByteArray(int[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static byte[][] |
intArrayToSafeByteArray(int[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static int[][] |
intArrayToSafeIntArray(int[][] in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
intArrayToSafeShortArray(int[][] array,
boolean signed) |
static short[][] |
intArrayToSafeShortArray(int[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static short[][] |
intArrayToSafeShortArray(int[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
intArrayToShortArray(int[][] array) |
static short[][] |
intArrayToShortArray(int[][] in,
int inOffset,
short[][] out,
int outOffset,
int length) |
static java.lang.Object |
longArrayToArray(long[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' long array in 'out' array type.
|
static java.lang.Object |
longArrayToArray(long[][] in,
java.lang.Object out,
boolean signed)
Convert and return the 'in' long array in 'out' array type.
|
static byte[][] |
longArrayToByteArray(long[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length) |
static double[][] |
longArrayToDoubleArray(long[][] in,
int inOffset,
double[][] out,
int outOffset,
int length,
boolean signed) |
static float[][] |
longArrayToFloatArray(long[][] in,
int inOffset,
float[][] out,
int outOffset,
int length,
boolean signed) |
static int[][] |
longArrayToIntArray(long[][] in,
int inOffset,
int[][] out,
int outOffset,
int length) |
static long[][] |
longArrayToLongArray(long[][] in,
int inOffset,
long[][] out,
int outOffset,
int length) |
static java.lang.Object |
longArrayToSafeArray(long[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static java.lang.Object |
longArrayToSafeArray(long[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static java.lang.Object |
longArrayToSafeArray(long[][] in,
java.lang.Object out,
boolean signed)
Deprecated.
|
static java.lang.Object |
longArrayToSafeArray(long[][] in,
java.lang.Object out,
boolean srcSigned,
boolean dstSigned) |
static byte[][] |
longArrayToSafeByteArray(long[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static byte[][] |
longArrayToSafeByteArray(long[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static int[][] |
longArrayToSafeIntArray(long[][] in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static int[][] |
longArrayToSafeIntArray(long[][] in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static long[][] |
longArrayToSafeLongArray(long[][] in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
longArrayToSafeShortArray(long[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static short[][] |
longArrayToSafeShortArray(long[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
longArrayToShortArray(long[][] in,
int inOffset,
short[][] out,
int outOffset,
int length) |
static java.lang.Object |
shortArrayToArray(short[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Convert and return the 'in' short array in 'out' array type.
|
static java.lang.Object |
shortArrayToArray(short[][] in,
java.lang.Object out,
boolean signed)
Convert and return the 'in' short array in 'out' array type.
|
static byte[][] |
shortArrayToByteArray(short[][] array) |
static byte[][] |
shortArrayToByteArray(short[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length) |
static double[][] |
shortArrayToDoubleArray(short[][] array,
boolean signed) |
static double[][] |
shortArrayToDoubleArray(short[][] in,
int inOffset,
double[][] out,
int outOffset,
int length,
boolean signed) |
static float[][] |
shortArrayToFloatArray(short[][] array,
boolean signed) |
static float[][] |
shortArrayToFloatArray(short[][] in,
int inOffset,
float[][] out,
int outOffset,
int length,
boolean signed) |
static int[][] |
shortArrayToIntArray(short[][] array,
boolean signed) |
static int[][] |
shortArrayToIntArray(short[][] in,
int inOffset,
int[][] out,
int outOffset,
int length,
boolean signed) |
static long[][] |
shortArrayToLongArray(short[][] in,
int inOffset,
long[][] out,
int outOffset,
int length,
boolean signed) |
static java.lang.Object |
shortArrayToSafeArray(short[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static java.lang.Object |
shortArrayToSafeArray(short[][] in,
int inOffset,
java.lang.Object out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static java.lang.Object |
shortArrayToSafeArray(short[][] in,
java.lang.Object out,
boolean signed)
Deprecated.
|
static java.lang.Object |
shortArrayToSafeArray(short[][] in,
java.lang.Object out,
boolean srcSigned,
boolean dstSigned) |
static byte[][] |
shortArrayToSafeByteArray(short[][] array,
boolean signed) |
static byte[][] |
shortArrayToSafeByteArray(short[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean signed)
Deprecated.
|
static byte[][] |
shortArrayToSafeByteArray(short[][] in,
int inOffset,
byte[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
shortArrayToSafeShortArray(short[][] in,
int inOffset,
short[][] out,
int outOffset,
int length,
boolean srcSigned,
boolean dstSigned) |
static short[][] |
shortArrayToShortArray(short[][] in,
int inOffset,
short[][] out,
int outOffset,
int length) |
static byte[] |
toByteArray1D(byte[][] in)
Return the multi dimension 'in' array as a single dimension byte array.
|
static byte[] |
toByteArray1D(byte[][] in,
byte[] out,
int offset)
Return the 2 dimensions 'in' array as a single dimension array.
|
static double[] |
toDoubleArray1D(double[][] in)
Return the multi dimension 'in' array as a single dimension double array.
|
static double[] |
toDoubleArray1D(double[][] in,
double[] out,
int offset)
Return the 2 dimensions 'in' array as a single dimension array.
|
static float[] |
toFloatArray1D(float[][] in)
Return the multi dimension 'in' array as a single dimension float array.
|
static float[] |
toFloatArray1D(float[][] in,
float[] out,
int offset)
Return the 2 dimensions 'in' array as a single dimension array.
|
static int[] |
toIntArray(int[][] in)
Deprecated.
Use
toIntArray1D(int[][]) instead |
static int[] |
toIntArray1D(int[][] in)
Return the multi dimension 'in' array as a single dimension int array.
|
static int[] |
toIntArray1D(int[][] in,
int[] out,
int offset)
Return the 2 dimensions 'in' array as a single dimension array.
|
static long[] |
toLongArray1D(long[][] in,
long[] out,
int offset)
Return the 2 dimensions 'in' array as a single dimension array.
|
static short[] |
toShortArray1D(short[][] in)
Return the multi dimension 'in' array as a single dimension short array.
|
static short[] |
toShortArray1D(short[][] in,
short[] out,
int offset)
Return the 2 dimensions 'in' array as a single dimension array.
|
public Array2DUtil()
public static int getTotalLength(byte[][] array)
public static int getTotalLength(short[][] array)
public static int getTotalLength(int[][] array)
public static int getTotalLength(long[][] array)
public static int getTotalLength(float[][] array)
public static int getTotalLength(double[][] array)
@Deprecated public static int getTotalLenght(byte[][] array)
getTotalLength(byte[][])
instead@Deprecated public static int getTotalLenght(short[][] array)
getTotalLength(short[][])
instead@Deprecated public static int getTotalLenght(int[][] array)
getTotalLength(int[][])
instead@Deprecated public static int getTotalLenght(float[][] array)
getTotalLength(float[][])
instead@Deprecated public static int getTotalLenght(double[][] array)
getTotalLength(double[][])
insteadpublic static java.lang.Object[] createArray(DataType dataType, int len)
@Deprecated public static java.lang.Object[] createArray(int dataType, int len)
public static byte[][] allocIfNull(byte[][] out, int len)
public static short[][] allocIfNull(short[][] out, int len)
public static int[][] allocIfNull(int[][] out, int len)
public static long[][] allocIfNull(long[][] out, int len)
public static float[][] allocIfNull(float[][] out, int len)
public static double[][] allocIfNull(double[][] out, int len)
public static boolean arrayByteCompare(byte[][] array1, byte[][] array2)
public static boolean arrayShortCompare(short[][] array1, short[][] array2)
public static boolean arrayIntCompare(int[][] array1, int[][] array2)
public static boolean arrayLongCompare(long[][] array1, long[][] array2)
public static boolean arrayFloatCompare(float[][] array1, float[][] array2)
public static boolean arrayDoubleCompare(double[][] array1, double[][] array2)
public static byte[] toByteArray1D(byte[][] in)
public static short[] toShortArray1D(short[][] in)
@Deprecated public static int[] toIntArray(int[][] in)
toIntArray1D(int[][])
insteadpublic static int[] toIntArray1D(int[][] in)
public static float[] toFloatArray1D(float[][] in)
public static double[] toDoubleArray1D(double[][] in)
public static byte[] toByteArray1D(byte[][] in, byte[] out, int offset)
public static short[] toShortArray1D(short[][] in, short[] out, int offset)
public static int[] toIntArray1D(int[][] in, int[] out, int offset)
public static long[] toLongArray1D(long[][] in, long[] out, int offset)
public static float[] toFloatArray1D(float[][] in, float[] out, int offset)
public static double[] toDoubleArray1D(double[][] in, double[] out, int offset)
public static java.lang.Object arrayToArray(java.lang.Object in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- if input data are integer type then we assume them as signed datapublic static java.lang.Object arrayToArray(java.lang.Object in, java.lang.Object out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- if input data are integer type then we assume them as signed datapublic static java.lang.Object doubleArrayToArray(double[][] in, int inOffset, java.lang.Object out, int outOffset, int length)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)public static java.lang.Object doubleArrayToArray(double[][] in, java.lang.Object out)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)public static java.lang.Object floatArrayToArray(float[][] in, int inOffset, java.lang.Object out, int outOffset, int length)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)public static java.lang.Object floatArrayToArray(float[][] in, java.lang.Object out)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)public static java.lang.Object longArrayToArray(long[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static java.lang.Object longArrayToArray(long[][] in, java.lang.Object out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static java.lang.Object intArrayToArray(int[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static java.lang.Object intArrayToArray(int[][] in, java.lang.Object out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static java.lang.Object shortArrayToArray(short[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static java.lang.Object shortArrayToArray(short[][] in, java.lang.Object out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static java.lang.Object byteArrayToArray(byte[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static java.lang.Object byteArrayToArray(byte[][] in, java.lang.Object out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static double[][] arrayToDoubleArray(java.lang.Object in, int inOffset, double[][] out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static double[][] arrayToDoubleArray(java.lang.Object in, double[][] out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static double[][] arrayToDoubleArray(java.lang.Object in, boolean signed)
in
- input arraysigned
- assume input data as signed datapublic static float[][] arrayToFloatArray(java.lang.Object in, int inOffset, float[][] out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static float[][] arrayToFloatArray(java.lang.Object in, float[][] out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static float[][] arrayToFloatArray(java.lang.Object in, boolean signed)
in
- input arraysigned
- assume input data as signed datapublic static int[][] arrayToIntArray(java.lang.Object in, int inOffset, int[][] out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static int[][] arrayToIntArray(java.lang.Object in, int[][] out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static int[][] arrayToIntArray(java.lang.Object in, boolean signed)
in
- input arraysigned
- assume input data as signed datapublic static short[][] arrayToShortArray(java.lang.Object in, int inOffset, short[][] out, int outOffset, int length, boolean signed)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)signed
- assume input data as signed datapublic static short[][] arrayToShortArray(java.lang.Object in, short[][] out, boolean signed)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)signed
- assume input data as signed datapublic static short[][] arrayToShortArray(java.lang.Object in, boolean signed)
in
- input arraysigned
- assume input data as signed datapublic static byte[][] arrayToByteArray(java.lang.Object in, int inOffset, byte[][] out, int outOffset, int length)
in
- input arrayinOffset
- position where we start read data fromout
- output array which is used to receive result (and so define wanted type)outOffset
- position where we start to write data tolength
- number of value to convert (-1 means we will use the maximum possible length)public static byte[][] arrayToByteArray(java.lang.Object in, byte[][] out)
in
- input arrayout
- output array which is used to receive result (and so define wanted type)public static byte[][] arrayToByteArray(java.lang.Object in)
in
- input arraypublic static double[][] doubleArrayToDoubleArray(double[][] in, int inOffset, double[][] out, int outOffset, int length)
public static float[][] doubleArrayToFloatArray(double[][] in, int inOffset, float[][] out, int outOffset, int length)
public static long[][] doubleArrayToLongArray(double[][] in, int inOffset, long[][] out, int outOffset, int length)
public static int[][] doubleArrayToIntArray(double[][] in, int inOffset, int[][] out, int outOffset, int length)
public static short[][] doubleArrayToShortArray(double[][] in, int inOffset, short[][] out, int outOffset, int length)
public static byte[][] doubleArrayToByteArray(double[][] in, int inOffset, byte[][] out, int outOffset, int length)
public static double[][] floatArrayToDoubleArray(float[][] in, int inOffset, double[][] out, int outOffset, int length)
public static float[][] floatArrayToFloatArray(float[][] in, int inOffset, float[][] out, int outOffset, int length)
public static long[][] floatArrayToLongArray(float[][] in, int inOffset, long[][] out, int outOffset, int length)
public static int[][] floatArrayToIntArray(float[][] in, int inOffset, int[][] out, int outOffset, int length)
public static short[][] floatArrayToShortArray(float[][] in, int inOffset, short[][] out, int outOffset, int length)
public static byte[][] floatArrayToByteArray(float[][] in, int inOffset, byte[][] out, int outOffset, int length)
public static double[][] longArrayToDoubleArray(long[][] in, int inOffset, double[][] out, int outOffset, int length, boolean signed)
public static float[][] longArrayToFloatArray(long[][] in, int inOffset, float[][] out, int outOffset, int length, boolean signed)
public static long[][] longArrayToLongArray(long[][] in, int inOffset, long[][] out, int outOffset, int length)
public static int[][] longArrayToIntArray(long[][] in, int inOffset, int[][] out, int outOffset, int length)
public static short[][] longArrayToShortArray(long[][] in, int inOffset, short[][] out, int outOffset, int length)
public static byte[][] longArrayToByteArray(long[][] in, int inOffset, byte[][] out, int outOffset, int length)
public static double[][] intArrayToDoubleArray(int[][] in, int inOffset, double[][] out, int outOffset, int length, boolean signed)
public static float[][] intArrayToFloatArray(int[][] in, int inOffset, float[][] out, int outOffset, int length, boolean signed)
public static long[][] intArrayToLongArray(int[][] in, int inOffset, long[][] out, int outOffset, int length, boolean signed)
public static int[][] intArrayToIntArray(int[][] in, int inOffset, int[][] out, int outOffset, int length)
public static short[][] intArrayToShortArray(int[][] in, int inOffset, short[][] out, int outOffset, int length)
public static byte[][] intArrayToByteArray(int[][] in, int inOffset, byte[][] out, int outOffset, int length)
public static double[][] shortArrayToDoubleArray(short[][] in, int inOffset, double[][] out, int outOffset, int length, boolean signed)
public static float[][] shortArrayToFloatArray(short[][] in, int inOffset, float[][] out, int outOffset, int length, boolean signed)
public static long[][] shortArrayToLongArray(short[][] in, int inOffset, long[][] out, int outOffset, int length, boolean signed)
public static int[][] shortArrayToIntArray(short[][] in, int inOffset, int[][] out, int outOffset, int length, boolean signed)
public static short[][] shortArrayToShortArray(short[][] in, int inOffset, short[][] out, int outOffset, int length)
public static byte[][] shortArrayToByteArray(short[][] in, int inOffset, byte[][] out, int outOffset, int length)
public static double[][] byteArrayToDoubleArray(byte[][] in, int inOffset, double[][] out, int outOffset, int length, boolean signed)
public static float[][] byteArrayToFloatArray(byte[][] in, int inOffset, float[][] out, int outOffset, int length, boolean signed)
public static long[][] byteArrayToLongArray(byte[][] in, int inOffset, long[][] out, int outOffset, int length, boolean signed)
public static int[][] byteArrayToIntArray(byte[][] in, int inOffset, int[][] out, int outOffset, int length, boolean signed)
public static short[][] byteArrayToShortArray(byte[][] in, int inOffset, short[][] out, int outOffset, int length, boolean signed)
public static byte[][] byteArrayToByteArray(byte[][] in, int inOffset, byte[][] out, int outOffset, int length)
public static float[][] doubleArrayToFloatArray(double[][] array)
public static int[][] doubleArrayToIntArray(double[][] array)
public static short[][] doubleArrayToShortArray(double[][] array)
public static byte[][] doubleArrayToByteArray(double[][] array)
public static double[][] floatArrayToDoubleArray(float[][] array)
public static int[][] floatArrayToIntArray(float[][] array)
public static short[][] floatArrayToShortArray(float[][] array)
public static byte[][] floatArrayToByteArray(float[][] array)
public static double[][] intArrayToDoubleArray(int[][] array, boolean signed)
public static float[][] intArrayToFloatArray(int[][] array, boolean signed)
public static short[][] intArrayToShortArray(int[][] array)
public static byte[][] intArrayToByteArray(int[][] array)
public static double[][] shortArrayToDoubleArray(short[][] array, boolean signed)
public static float[][] shortArrayToFloatArray(short[][] array, boolean signed)
public static int[][] shortArrayToIntArray(short[][] array, boolean signed)
public static byte[][] shortArrayToByteArray(short[][] array)
public static double[][] byteArrayToDoubleArray(byte[][] array, boolean signed)
public static float[][] byteArrayToFloatArray(byte[][] array, boolean signed)
public static int[][] byteArrayToIntArray(byte[][] array, boolean signed)
public static short[][] byteArrayToShortArray(byte[][] array, boolean signed)
public static java.lang.Object doubleArrayToSafeArray(double[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
public static java.lang.Object doubleArrayToSafeArray(double[][] in, java.lang.Object out, boolean signed)
public static java.lang.Object floatArrayToSafeArray(float[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
public static java.lang.Object floatArrayToSafeArray(float[][] in, java.lang.Object out, boolean signed)
public static java.lang.Object longArrayToSafeArray(long[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static java.lang.Object longArrayToSafeArray(long[][] in, java.lang.Object out, boolean srcSigned, boolean dstSigned)
@Deprecated public static java.lang.Object longArrayToSafeArray(long[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
longArrayToSafeArray(long[][], int, Object, int, int, boolean, boolean)
instead.@Deprecated public static java.lang.Object longArrayToSafeArray(long[][] in, java.lang.Object out, boolean signed)
longArrayToSafeArray(long[][], Object, boolean, boolean)
instead.public static java.lang.Object intArrayToSafeArray(int[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static java.lang.Object intArrayToSafeArray(int[][] in, java.lang.Object out, boolean srcSigned, boolean dstSigned)
@Deprecated public static java.lang.Object intArrayToSafeArray(int[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
intArrayToSafeArray(int[][], int, Object, int, int, boolean, boolean)
instead.@Deprecated public static java.lang.Object intArrayToSafeArray(int[][] in, java.lang.Object out, boolean signed)
intArrayToSafeArray(int[][], Object, boolean, boolean)
instead.public static java.lang.Object shortArrayToSafeArray(short[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static java.lang.Object shortArrayToSafeArray(short[][] in, java.lang.Object out, boolean srcSigned, boolean dstSigned)
@Deprecated public static java.lang.Object shortArrayToSafeArray(short[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean signed)
shortArrayToSafeArray(short[][], int, Object, int, int, boolean, boolean)
instead.@Deprecated public static java.lang.Object shortArrayToSafeArray(short[][] in, java.lang.Object out, boolean signed)
shortArrayToSafeArray(short[][], Object, boolean, boolean)
instead.public static java.lang.Object byteArrayToSafeArray(byte[][] in, int inOffset, java.lang.Object out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static java.lang.Object byteArrayToSafeArray(byte[][] in, java.lang.Object out, boolean srcSigned, boolean dstSigned)
public static long[][] arrayToSafeLongArray(java.lang.Object in, int inOffset, long[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static long[][] arrayToSafeLongArray(java.lang.Object in, long[][] out, boolean srcSigned, boolean dstSigned)
@Deprecated public static long[][] arrayToSafeLongArray(java.lang.Object in, int inOffset, long[][] out, int outOffset, int length, boolean signed)
arrayToSafeLongArray(Object, int, long[][], int, int, boolean, boolean)
instead@Deprecated public static long[][] arrayToSafeLongArray(java.lang.Object in, long[][] out, boolean signed)
arrayToSafeLongArray(Object, long[][], boolean, boolean)
insteadpublic static int[][] arrayToSafeIntArray(java.lang.Object in, int inOffset, int[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static int[][] arrayToSafeIntArray(java.lang.Object in, int[][] out, boolean srcSigned, boolean dstSigned)
@Deprecated public static int[][] arrayToSafeIntArray(java.lang.Object in, int inOffset, int[][] out, int outOffset, int length, boolean signed)
arrayToSafeIntArray(Object, int, int[][], int, int, boolean, boolean)
instead@Deprecated public static int[][] arrayToSafeIntArray(java.lang.Object in, int[][] out, boolean signed)
arrayToSafeIntArray(Object, int[][], boolean, boolean)
insteadpublic static short[][] arrayToSafeShortArray(java.lang.Object in, int inOffset, short[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static short[][] arrayToSafeShortArray(java.lang.Object in, short[][] out, boolean srcSigned, boolean dstSigned)
@Deprecated public static short[][] arrayToSafeShortArray(java.lang.Object in, int inOffset, short[][] out, int outOffset, int length, boolean signed)
arrayToSafeShortArray(Object, int, short[][], int, int, boolean, boolean)
instead@Deprecated public static short[][] arrayToSafeShortArray(java.lang.Object in, short[][] out, boolean signed)
arrayToSafeShortArray(Object, short[][], boolean, boolean)
insteadpublic static byte[][] arrayToSafeByteArray(java.lang.Object in, int inOffset, byte[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static byte[][] arrayToSafeByteArray(java.lang.Object in, byte[][] out, boolean srcSigned, boolean dstSigned)
@Deprecated public static byte[][] arrayToSafeByteArray(java.lang.Object in, int inOffset, byte[][] out, int outOffset, int length, boolean signed)
arrayToSafeByteArray(Object, int, byte[][], int, int, boolean, boolean)
instead@Deprecated public static byte[][] arrayToSafeByteArray(java.lang.Object in, byte[][] out, boolean signed)
arrayToSafeByteArray(Object, byte[][], boolean, boolean)
insteadpublic static long[][] doubleArrayToSafeLongArray(double[][] in, int inOffset, long[][] out, int outOffset, int length, boolean signed)
public static int[][] doubleArrayToSafeIntArray(double[][] in, int inOffset, int[][] out, int outOffset, int length, boolean signed)
public static short[][] doubleArrayToSafeShortArray(double[][] in, int inOffset, short[][] out, int outOffset, int length, boolean signed)
public static byte[][] doubleArrayToSafeByteArray(double[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean signed)
public static long[][] floatArrayToSafeLongArray(float[][] in, int inOffset, long[][] out, int outOffset, int length, boolean signed)
public static int[][] floatArrayToSafeIntArray(float[][] in, int inOffset, int[][] out, int outOffset, int length, boolean signed)
public static short[][] floatArrayToSafeShortArray(float[][] in, int inOffset, short[][] out, int outOffset, int length, boolean signed)
public static byte[][] floatArrayToSafeByteArray(float[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean signed)
public static long[][] longArrayToSafeLongArray(long[][] in, int inOffset, long[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static int[][] longArrayToSafeIntArray(long[][] in, int inOffset, int[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static short[][] longArrayToSafeShortArray(long[][] in, int inOffset, short[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static byte[][] longArrayToSafeByteArray(long[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
@Deprecated public static int[][] longArrayToSafeIntArray(long[][] in, int inOffset, int[][] out, int outOffset, int length, boolean signed)
longArrayToSafeIntArray(long[][], int, int[][], int, int, boolean, boolean)
instead@Deprecated public static short[][] longArrayToSafeShortArray(long[][] in, int inOffset, short[][] out, int outOffset, int length, boolean signed)
longArrayToSafeShortArray(long[][], int, short[][], int, int, boolean, boolean)
instead@Deprecated public static byte[][] longArrayToSafeByteArray(long[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean signed)
longArrayToSafeByteArray(long[][], int, byte[][], int, int, boolean, boolean)
insteadpublic static int[][] intArrayToSafeIntArray(int[][] in, int inOffset, int[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static short[][] intArrayToSafeShortArray(int[][] in, int inOffset, short[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static byte[][] intArrayToSafeByteArray(int[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
@Deprecated public static short[][] intArrayToSafeShortArray(int[][] in, int inOffset, short[][] out, int outOffset, int length, boolean signed)
intArrayToSafeShortArray(int[][], int, short[][], int, int, boolean, boolean)
instead@Deprecated public static byte[][] intArrayToSafeByteArray(int[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean signed)
intArrayToSafeByteArray(int[][], int, byte[][], int, int, boolean, boolean)
insteadpublic static short[][] shortArrayToSafeShortArray(short[][] in, int inOffset, short[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static byte[][] shortArrayToSafeByteArray(short[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
@Deprecated public static byte[][] shortArrayToSafeByteArray(short[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean signed)
shortArrayToSafeByteArray(short[][], int, byte[][], int, int, boolean, boolean)
insteadpublic static byte[][] byteArrayToSafeByteArray(byte[][] in, int inOffset, byte[][] out, int outOffset, int length, boolean srcSigned, boolean dstSigned)
public static int[][] doubleArrayToSafeIntArray(double[][] array, boolean signed)
public static short[][] doubleArrayToSafeShortArray(double[][] array, boolean signed)
public static byte[][] doubleArrayToSafeByteArray(double[][] array, boolean signed)
public static int[][] floatArrayToSafeIntArray(float[][] array, boolean signed)
public static short[][] floatArrayToSafeShortArray(float[][] array, boolean signed)
public static byte[][] floatArrayToSafeByteArray(float[][] array, boolean signed)
public static short[][] intArrayToSafeShortArray(int[][] array, boolean signed)
public static byte[][] intArrayToSafeByteArray(int[][] array, boolean signed)
public static byte[][] shortArrayToSafeByteArray(short[][] array, boolean signed)