public class ArrayToolE extends ArrayToolT
Constructor and Description |
---|
ArrayToolE() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
arrayForConsole(boolean[] boolean1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(boolean[][] boolean2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(boolean[][] boolean2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(boolean[] boolean1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(byte[] byte1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(byte[][] byte2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(byte[][] byte2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(byte[] byte1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(char[] char1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(char[][] char2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(char[][] char2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(char[] char1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(double[] double1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(double[][] double2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(double[][] double2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(double[] double1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(float[] float1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(float[][] float2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(float[][] float2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(float[] float1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(int[] int1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(int[][] int2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(int[][] int2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(int[] int1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(long[] long1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(long[][] long2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(long[][] long2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(long[] long1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(java.lang.Object[] o1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(java.lang.Object[][] o2dMatrix)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(java.lang.Object[][] o2dMatrix,
char chFillBlank,
int[] int1dRSIs,
java.lang.String strMatrixNullEscape,
java.lang.String strMatrixEmptyEscape,
java.lang.String strRowNullEscape,
java.lang.String strRowEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 2D array.
|
static java.lang.String |
arrayForConsole(java.lang.Object[] o1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape,
java.lang.String strElementNullEscape)
Generates a string representation of the 1D array.
|
static java.lang.String |
arrayForConsole(short[] short1dArray)
A simple way to generate a text string for 1D array.
|
static java.lang.String |
arrayForConsole(short[] short1dArray,
java.lang.String strSeparator,
java.lang.String strArrayNullEscape,
java.lang.String strArrayEmptyEscape)
Generates a string representation of the 1D array.
|
static void |
copyArray(boolean[] boolean1dSrc,
int intSrcStartIdx,
boolean[] boolean1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(byte[] byte1dSrc,
int intSrcStartIdx,
byte[] byte1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(char[] char1dSrc,
int intSrcStartIdx,
char[] char1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(double[] double1dSrc,
int intSrcStartIdx,
double[] double1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(float[] float1dSrc,
int intSrcStartIdx,
float[] float1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(int[] int1dSrc,
int intSrcStartIdx,
int[] int1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(long[] long1dSrc,
int intSrcStartIdx,
long[] long1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(java.lang.Object[] o1dSrc,
int intSrcStartIdx,
java.lang.Object[] o1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static void |
copyArray(short[] short1dSrc,
int intSrcStartIdx,
short[] short1dDes,
int intDesStartIdx,
int intCopyCount)
Copies an array from the specified source array, beginning at the
specified position, to the specified position of the destination array.
|
static int[] |
findArrayIndexes(boolean[] boolean1dArray,
boolean booleanTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(byte[] byte1dArray,
byte byteTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(char[] char1dArray,
char charTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(double[] double1dArray,
double doubleTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(float[] float1dArray,
float floatTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(int[] int1dArray,
int intTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(long[] long1dArray,
long longTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(java.lang.Object[] o1dArray,
java.lang.Object oTarget)
Finds the indexes of target element in an array.
|
static int[] |
findArrayIndexes(short[] short1dArray,
short shortTarget)
Finds the indexes of target element in an array.
|
static int |
findFirstIndex(boolean[] boolean1dArray,
boolean booleanTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(byte[] byte1dArray,
byte byteTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(char[] char1dArray,
char charTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(double[] double1dArray,
double doubleTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(float[] float1dArray,
float floatTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(int[] int1dArray,
int intTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(long[] long1dArray,
long longTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(java.lang.Object[] o1dArray,
java.lang.Object oTarget)
Finds the first index of target element in an array.
|
static int |
findFirstIndex(short[] short1dArray,
short shortTarget)
Finds the first index of target element in an array.
|
static int |
findLastIndex(boolean[] boolean1dArray,
boolean booleanTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(byte[] byte1dArray,
byte byteTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(char[] char1dArray,
char charTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(double[] double1dArray,
double doubleTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(float[] float1dArray,
float floatTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(int[] int1dArray,
int intTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(long[] long1dArray,
long longTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(java.lang.Object[] o1dArray,
java.lang.Object oTarget)
Finds the last index of target element in an array.
|
static int |
findLastIndex(short[] short1dArray,
short shortTarget)
Finds the last index of target element in an array.
|
static boolean |
getArrayElement(boolean[][] boolean2dArray,
int intRowIdx,
int intColIdx,
boolean booleanOverRangeDefault)
Gets array element at appointed index.
|
static boolean |
getArrayElement(boolean[] boolean1dArray,
int intIndex,
boolean booleanOverRangeDefault)
Gets array element at appointed index.
|
static byte |
getArrayElement(byte[][] byte2dArray,
int intRowIdx,
int intColIdx,
byte byteOverRangeDefault)
Gets array element at appointed index.
|
static byte |
getArrayElement(byte[] byte1dArray,
int intIndex,
byte byteOverRangeDefault)
Gets array element at appointed index.
|
static char |
getArrayElement(char[][] char2dArray,
int intRowIdx,
int intColIdx,
char charOverRangeDefault)
Gets array element at appointed index.
|
static char |
getArrayElement(char[] char1dArray,
int intIndex,
char charOverRangeDefault)
Gets array element at appointed index.
|
static double |
getArrayElement(double[][] double2dArray,
int intRowIdx,
int intColIdx,
double doubleOverRangeDefault)
Gets array element at appointed index.
|
static double |
getArrayElement(double[] double1dArray,
int intIndex,
double doubleOverRangeDefault)
Gets array element at appointed index.
|
static float |
getArrayElement(float[][] float2dArray,
int intRowIdx,
int intColIdx,
float floatOverRangeDefault)
Gets array element at appointed index.
|
static float |
getArrayElement(float[] float1dArray,
int intIndex,
float floatOverRangeDefault)
Gets array element at appointed index.
|
static int |
getArrayElement(int[][] int2dArray,
int intRowIdx,
int intColIdx,
int intOverRangeDefault)
Gets array element at appointed index.
|
static int |
getArrayElement(int[] int1dArray,
int intIndex,
int intOverRangeDefault)
Gets array element at appointed index.
|
static long |
getArrayElement(long[][] long2dArray,
int intRowIdx,
int intColIdx,
long longOverRangeDefault)
Gets array element at appointed index.
|
static long |
getArrayElement(long[] long1dArray,
int intIndex,
long longOverRangeDefault)
Gets array element at appointed index.
|
static short |
getArrayElement(short[][] short2dArray,
int intRowIdx,
int intColIdx,
short shortOverRangeDefault)
Gets array element at appointed index.
|
static short |
getArrayElement(short[] short1dArray,
int intIndex,
short shortOverRangeDefault)
Gets array element at appointed index.
|
static <TYPE> TYPE |
getArrayElement(TYPE[][] type2dArray,
int intRowIdx,
int intColIdx,
TYPE typeOverRangeDefault)
Gets array element at appointed index.
|
static <TYPE> TYPE |
getArrayElement(TYPE[] type1dArray,
int intIndex,
TYPE typeOverRangeDefault)
Gets array element at appointed index.
|
public static java.lang.String arrayForConsole(boolean[] boolean1dArray)
boolean1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(boolean[] boolean1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
boolean1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(byte[] byte1dArray)
byte1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(byte[] byte1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
byte1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(char[] char1dArray)
char1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(char[] char1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
char1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(short[] short1dArray)
short1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(short[] short1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
short1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(int[] int1dArray)
int1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(int[] int1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
int1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(long[] long1dArray)
long1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(long[] long1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
long1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(float[] float1dArray)
float1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(float[] float1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
float1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(double[] double1dArray)
double1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(double[] double1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape)
double1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.public static java.lang.String arrayForConsole(java.lang.Object[] o1dArray)
o1dArray
- - The incoming 1D array.public static java.lang.String arrayForConsole(java.lang.Object[] o1dArray, java.lang.String strSeparator, java.lang.String strArrayNullEscape, java.lang.String strArrayEmptyEscape, java.lang.String strElementNullEscape)
o1dArray
- - The incoming 1D array.strSeparator
- - Separator between each element in incoming 1D array.
strArrayNullEscape
- - Use this for instead while the incoming 1D array is
NULL.strArrayEmptyEscape
- - Use this for instead while the incoming 1D array is
empty.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(boolean[][] boolean2dMatrix)
boolean2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(boolean[][] boolean2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
boolean2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(byte[][] byte2dMatrix)
byte2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(byte[][] byte2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
byte2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(char[][] char2dMatrix)
char2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(char[][] char2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
char2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(int[][] int2dMatrix)
int2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(int[][] int2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
int2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(long[][] long2dMatrix)
long2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(long[][] long2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
long2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(float[][] float2dMatrix)
float2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(float[][] float2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
float2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(double[][] double2dMatrix)
double2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(double[][] double2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
double2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static java.lang.String arrayForConsole(java.lang.Object[][] o2dMatrix)
o2dMatrix
- - The incoming 2D array.public static java.lang.String arrayForConsole(java.lang.Object[][] o2dMatrix, char chFillBlank, int[] int1dRSIs, java.lang.String strMatrixNullEscape, java.lang.String strMatrixEmptyEscape, java.lang.String strRowNullEscape, java.lang.String strRowEmptyEscape, java.lang.String strElementNullEscape)
o2dMatrix
- - The incoming 2D array.chFillBlank
- - The character to fill into the blanks.int1dRSIs
- - Row Sepration Indexes such as [0, 3, 4, 7].strMatrixNullEscape
- - Use this for instead if the incoming 2D array is
NULL.strMatrixEmptyEscape
- - Use this for instead if the incoming 2D array is
empty.strRowNullEscape
- - Use this for instead while meet a row which is NULL in the
incoming 2D array.strRowEmptyEscape
- - Use this for instead while meet a row which is empty in the
incoming 2D array.strElementNullEscape
- - Use this for instead while meet an item which is NULL in the
incoming 2D array.public static void copyArray(boolean[] boolean1dSrc, int intSrcStartIdx, boolean[] boolean1dDes, int intDesStartIdx, int intCopyCount)
boolean1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.boolean1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(byte[] byte1dSrc, int intSrcStartIdx, byte[] byte1dDes, int intDesStartIdx, int intCopyCount)
byte1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.byte1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(char[] char1dSrc, int intSrcStartIdx, char[] char1dDes, int intDesStartIdx, int intCopyCount)
char1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.char1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(short[] short1dSrc, int intSrcStartIdx, short[] short1dDes, int intDesStartIdx, int intCopyCount)
short1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.short1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(int[] int1dSrc, int intSrcStartIdx, int[] int1dDes, int intDesStartIdx, int intCopyCount)
int1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.int1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(long[] long1dSrc, int intSrcStartIdx, long[] long1dDes, int intDesStartIdx, int intCopyCount)
long1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.long1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(float[] float1dSrc, int intSrcStartIdx, float[] float1dDes, int intDesStartIdx, int intCopyCount)
float1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.float1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(double[] double1dSrc, int intSrcStartIdx, double[] double1dDes, int intDesStartIdx, int intCopyCount)
double1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.double1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static void copyArray(java.lang.Object[] o1dSrc, int intSrcStartIdx, java.lang.Object[] o1dDes, int intDesStartIdx, int intCopyCount)
o1dSrc
- - The source 1D array.intSrcStartIdx
- - The start index to copy from source array.o1dDes
- - The destination 1D array.intDesStartIdx
- - The start index to copy to destination array.intCopyCount
- - Count to copy.System.arraycopy(Object src, int srcPos, Object dest, int
destPos, int length)
public static boolean getArrayElement(boolean[] boolean1dArray, int intIndex, boolean booleanOverRangeDefault)
boolean1dArray
- - The incoming 1D array.intIndex
- - Element index.booleanOverRangeDefault
- - Use this value while index is out of the array range.public static byte getArrayElement(byte[] byte1dArray, int intIndex, byte byteOverRangeDefault)
byte1dArray
- - The incoming 1D array.intIndex
- - Element index.byteOverRangeDefault
- - Use this value while index is out of the array range.public static char getArrayElement(char[] char1dArray, int intIndex, char charOverRangeDefault)
char1dArray
- - The incoming 1D array.intIndex
- - Element index.charOverRangeDefault
- - Use this value while index is out of the array range.public static short getArrayElement(short[] short1dArray, int intIndex, short shortOverRangeDefault)
short1dArray
- - The incoming 1D array.intIndex
- - Element index.shortOverRangeDefault
- - Use this value while index is out of the array range.public static int getArrayElement(int[] int1dArray, int intIndex, int intOverRangeDefault)
int1dArray
- - The incoming 1D array.intIndex
- - Element index.intOverRangeDefault
- - Use this value while index is out of the array range.public static long getArrayElement(long[] long1dArray, int intIndex, long longOverRangeDefault)
long1dArray
- - The incoming 1D array.intIndex
- - Element index.longOverRangeDefault
- - Use this value while index is out of the array range.public static float getArrayElement(float[] float1dArray, int intIndex, float floatOverRangeDefault)
float1dArray
- - The incoming 1D array.intIndex
- - Element index.floatOverRangeDefault
- - Use this value while index is out of the array range.public static double getArrayElement(double[] double1dArray, int intIndex, double doubleOverRangeDefault)
double1dArray
- - The incoming 1D array.intIndex
- - Element index.doubleOverRangeDefault
- - Use this value while index is out of the array range.public static <TYPE> TYPE getArrayElement(TYPE[] type1dArray, int intIndex, TYPE typeOverRangeDefault)
TYPE
- - Type.type1dArray
- - The incoming 1D array.intIndex
- - Element index.typeOverRangeDefault
- - Use this value while index is out of the array range.public static boolean getArrayElement(boolean[][] boolean2dArray, int intRowIdx, int intColIdx, boolean booleanOverRangeDefault)
boolean2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.booleanOverRangeDefault
- - Use this value while index is out of the array range.public static byte getArrayElement(byte[][] byte2dArray, int intRowIdx, int intColIdx, byte byteOverRangeDefault)
byte2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.byteOverRangeDefault
- - Use this value while index is out of the array range.public static char getArrayElement(char[][] char2dArray, int intRowIdx, int intColIdx, char charOverRangeDefault)
char2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.charOverRangeDefault
- - Use this value while index is out of the array range.public static short getArrayElement(short[][] short2dArray, int intRowIdx, int intColIdx, short shortOverRangeDefault)
short2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.shortOverRangeDefault
- - Use this value while index is out of the array range.public static int getArrayElement(int[][] int2dArray, int intRowIdx, int intColIdx, int intOverRangeDefault)
int2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.intOverRangeDefault
- - Use this value while index is out of the array range.public static long getArrayElement(long[][] long2dArray, int intRowIdx, int intColIdx, long longOverRangeDefault)
long2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.longOverRangeDefault
- - Use this value while index is out of the array range.public static float getArrayElement(float[][] float2dArray, int intRowIdx, int intColIdx, float floatOverRangeDefault)
float2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.floatOverRangeDefault
- - Use this value while index is out of the array range.public static double getArrayElement(double[][] double2dArray, int intRowIdx, int intColIdx, double doubleOverRangeDefault)
double2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.doubleOverRangeDefault
- - Use this value while index is out of the array range.public static <TYPE> TYPE getArrayElement(TYPE[][] type2dArray, int intRowIdx, int intColIdx, TYPE typeOverRangeDefault)
TYPE
- - Type.type2dArray
- - The incoming 2D array.intRowIdx
- - Row index.intColIdx
- - Column index.typeOverRangeDefault
- - Use this value while index is out of the array range.public static int[] findArrayIndexes(boolean[] boolean1dArray, boolean booleanTarget)
boolean1dArray
- - Incoming array.booleanTarget
- - Target to index.public static int[] findArrayIndexes(byte[] byte1dArray, byte byteTarget)
byte1dArray
- - Incoming array.byteTarget
- - Target to index.public static int[] findArrayIndexes(char[] char1dArray, char charTarget)
char1dArray
- - Incoming array.charTarget
- - Target to index.public static int[] findArrayIndexes(short[] short1dArray, short shortTarget)
short1dArray
- - Incoming array.shortTarget
- - Target to index.public static int[] findArrayIndexes(int[] int1dArray, int intTarget)
int1dArray
- - Incoming array.intTarget
- - Target to index.public static int[] findArrayIndexes(long[] long1dArray, long longTarget)
long1dArray
- - Incoming array.longTarget
- - Target to index.public static int[] findArrayIndexes(float[] float1dArray, float floatTarget)
float1dArray
- - Incoming array.floatTarget
- - Target to index.public static int[] findArrayIndexes(double[] double1dArray, double doubleTarget)
double1dArray
- - Incoming array.doubleTarget
- - Target to index.public static int[] findArrayIndexes(java.lang.Object[] o1dArray, java.lang.Object oTarget)
o1dArray
- - Incoming array.oTarget
- - Target to index.public static int findFirstIndex(boolean[] boolean1dArray, boolean booleanTarget)
boolean1dArray
- - Incoming array.booleanTarget
- - Target to index.public static int findFirstIndex(byte[] byte1dArray, byte byteTarget)
byte1dArray
- - Incoming array.byteTarget
- - Target to index.public static int findFirstIndex(char[] char1dArray, char charTarget)
char1dArray
- - Incoming array.charTarget
- - Target to index.public static int findFirstIndex(short[] short1dArray, short shortTarget)
short1dArray
- - Incoming array.shortTarget
- - Target to index.public static int findFirstIndex(int[] int1dArray, int intTarget)
int1dArray
- - Incoming array.intTarget
- - Target to index.public static int findFirstIndex(long[] long1dArray, long longTarget)
long1dArray
- - Incoming array.longTarget
- - Target to index.public static int findFirstIndex(float[] float1dArray, float floatTarget)
float1dArray
- - Incoming array.floatTarget
- - Target to index.public static int findFirstIndex(double[] double1dArray, double doubleTarget)
double1dArray
- - Incoming array.doubleTarget
- - Target to index.public static int findFirstIndex(java.lang.Object[] o1dArray, java.lang.Object oTarget)
o1dArray
- - Incoming array.oTarget
- - Target to index.public static int findLastIndex(boolean[] boolean1dArray, boolean booleanTarget)
boolean1dArray
- - Incoming array.booleanTarget
- - Target to index.public static int findLastIndex(byte[] byte1dArray, byte byteTarget)
byte1dArray
- - Incoming array.byteTarget
- - Target to index.public static int findLastIndex(char[] char1dArray, char charTarget)
char1dArray
- - Incoming array.charTarget
- - Target to index.public static int findLastIndex(short[] short1dArray, short shortTarget)
short1dArray
- - Incoming array.shortTarget
- - Target to index.public static int findLastIndex(int[] int1dArray, int intTarget)
int1dArray
- - Incoming array.intTarget
- - Target to index.public static int findLastIndex(long[] long1dArray, long longTarget)
long1dArray
- - Incoming array.longTarget
- - Target to index.public static int findLastIndex(float[] float1dArray, float floatTarget)
float1dArray
- - Incoming array.floatTarget
- - Target to index.public static int findLastIndex(double[] double1dArray, double doubleTarget)
double1dArray
- - Incoming array.doubleTarget
- - Target to index.public static int findLastIndex(java.lang.Object[] o1dArray, java.lang.Object oTarget)
o1dArray
- - Incoming array.oTarget
- - Target to index.