| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
asList(T... a)
Returns a fixed-size list backed by the specified array if it's not null or empty, otherwise an immutable empty list is returned.
|
static Boolean[] |
box(boolean... a)
Converts an array of primitive booleans to objects.
|
static Boolean[][] |
box(boolean[][] a) |
static Boolean[][][] |
box(boolean[][][] a) |
static Boolean[] |
box(boolean[] a,
int fromIndex,
int toIndex) |
static Byte[] |
box(byte... a)
Converts an array of primitive bytes to objects.
|
static Byte[][] |
box(byte[][] a) |
static Byte[][][] |
box(byte[][][] a) |
static Byte[] |
box(byte[] a,
int fromIndex,
int toIndex) |
static Character[] |
box(char... a)
Converts an array of primitive chars to objects.
|
static Character[][] |
box(char[][] a) |
static Character[][][] |
box(char[][][] a) |
static Character[] |
box(char[] a,
int fromIndex,
int toIndex) |
static Double[] |
box(double... a)
Converts an array of primitive doubles to objects.
|
static Double[][] |
box(double[][] a) |
static Double[][][] |
box(double[][][] a) |
static Double[] |
box(double[] a,
int fromIndex,
int toIndex) |
static Float[] |
box(float... a)
Converts an array of primitive floats to objects.
|
static Float[][] |
box(float[][] a) |
static Float[][][] |
box(float[][][] a) |
static Float[] |
box(float[] a,
int fromIndex,
int toIndex) |
static Integer[] |
box(int... a)
Converts an array of primitive ints to objects.
|
static Integer[][] |
box(int[][] a) |
static Integer[][][] |
box(int[][][] a) |
static Integer[] |
box(int[] a,
int fromIndex,
int toIndex) |
static Long[] |
box(long... a)
Converts an array of primitive longs to objects.
|
static Long[][] |
box(long[][] a) |
static Long[][][] |
box(long[][][] a) |
static Long[] |
box(long[] a,
int fromIndex,
int toIndex) |
static Short[] |
box(short... a)
Converts an array of primitive shorts to objects.
|
static Short[][] |
box(short[][] a) |
static Short[][][] |
box(short[][][] a) |
static Short[] |
box(short[] a,
int fromIndex,
int toIndex) |
static boolean[][][] |
concat(boolean[][][] a,
boolean[][][] b) |
static boolean[][] |
concat(boolean[][] a,
boolean[][] b) |
static byte[][][] |
concat(byte[][][] a,
byte[][][] b) |
static byte[][] |
concat(byte[][] a,
byte[][] b) |
static char[][][] |
concat(char[][][] a,
char[][][] b) |
static char[][] |
concat(char[][] a,
char[][] b) |
static double[][][] |
concat(double[][][] a,
double[][][] b) |
static double[][] |
concat(double[][] a,
double[][] b) |
static float[][][] |
concat(float[][][] a,
float[][][] b) |
static float[][] |
concat(float[][] a,
float[][] b) |
static int[][][] |
concat(int[][][] a,
int[][][] b) |
static int[][] |
concat(int[][] a,
int[][] b) |
static long[][][] |
concat(long[][][] a,
long[][][] b) |
static long[][] |
concat(long[][] a,
long[][] b) |
static short[][][] |
concat(short[][][] a,
short[][][] b) |
static short[][] |
concat(short[][] a,
short[][] b) |
static <T> T[][][] |
concatt(T[][][] a,
T[][][] b) |
static <T> T[][] |
concatt(T[][] a,
T[][] b) |
static <T> T |
get(Object array,
int index) |
static boolean |
getBoolean(Object array,
int index)
Gets the boolean.
|
static byte |
getByte(Object array,
int index)
Gets the byte.
|
static char |
getChar(Object array,
int index)
Gets the char.
|
static double |
getDouble(Object array,
int index)
Gets the double.
|
static float |
getFloat(Object array,
int index)
Gets the float.
|
static int |
getInt(Object array,
int index)
Gets the int.
|
static int |
getLength(Object array)
Gets the length.
|
static long |
getLong(Object array,
int index)
Gets the long.
|
static short |
getShort(Object array,
int index)
Gets the short.
|
static <T> T |
newInstance(Class<?> componentType,
int... dimensions) |
static <T> T |
newInstance(Class<?> componentType,
int length) |
static boolean[] |
of(boolean... a)
Returns the input array.
|
static byte[] |
of(byte... a)
Returns the input array.
|
static char[] |
of(char... a)
Returns the input array.
|
static double[] |
of(double... a)
Returns the input array.
|
static float[] |
of(float... a)
Returns the input array.
|
static int[] |
of(int... a)
Returns the input array.
|
static long[] |
of(long... a)
Returns the input array.
|
static short[] |
of(short... a)
Returns the input array.
|
static String[] |
of(String... a)
Returns the input array.
|
static <T> T[] |
oF(T... a)
Deprecated.
please use
N.asArray(Object...). |
static <T extends Calendar> |
of(T... a)
Returns the input array.
|
static <T extends Date> |
of(T... a)
Returns the input array.
|
static byte[] |
range(byte startInclusive,
byte endExclusive) |
static byte[] |
range(byte startInclusive,
byte endExclusive,
byte by) |
static char[] |
range(char startInclusive,
char endExclusive) |
static char[] |
range(char startInclusive,
char endExclusive,
int by) |
static int[] |
range(int startInclusive,
int endExclusive) |
static int[] |
range(int startInclusive,
int endExclusive,
int by) |
static long[] |
range(long startInclusive,
long endExclusive) |
static long[] |
range(long startInclusive,
long endExclusive,
long by) |
static short[] |
range(short startInclusive,
short endExclusive) |
static short[] |
range(short startInclusive,
short endExclusive,
short by) |
static byte[] |
rangeClosed(byte startInclusive,
byte endInclusive) |
static byte[] |
rangeClosed(byte startInclusive,
byte endInclusive,
byte by) |
static char[] |
rangeClosed(char startInclusive,
char endInclusive) |
static char[] |
rangeClosed(char startInclusive,
char endInclusive,
int by) |
static int[] |
rangeClosed(int startInclusive,
int endInclusive) |
static int[] |
rangeClosed(int startInclusive,
int endInclusive,
int by) |
static long[] |
rangeClosed(long startInclusive,
long endInclusive) |
static long[] |
rangeClosed(long startInclusive,
long endInclusive,
long by) |
static short[] |
rangeClosed(short startInclusive,
short endInclusive) |
static short[] |
rangeClosed(short startInclusive,
short endInclusive,
short by) |
static boolean[] |
repeat(boolean element,
int n) |
static byte[] |
repeat(byte element,
int n) |
static char[] |
repeat(char element,
int n) |
static <T> T[] |
repeat(Class<T> elementClass,
T element,
int n)
Deprecated.
|
static double[] |
repeat(double element,
int n) |
static float[] |
repeat(float element,
int n) |
static int[] |
repeat(int element,
int n) |
static long[] |
repeat(long element,
int n) |
static short[] |
repeat(short element,
int n) |
static String[] |
repeat(String element,
int n) |
static <T> T[] |
repeat(T element,
int n)
Deprecated.
prefer to
repeat(Object, int, Class) because this method throws NullPointerException when element is null |
static <T> T[] |
repeat(T element,
int n,
Class<T> elementClass) |
static <T> T[] |
repeatNonNull(T element,
int n) |
static void |
set(Object array,
int index,
Object value) |
static void |
setBoolean(Object array,
int index,
boolean z)
Sets the boolean.
|
static void |
setByte(Object array,
int index,
byte b)
Sets the byte.
|
static void |
setChar(Object array,
int index,
char c)
Sets the char.
|
static void |
setDouble(Object array,
int index,
double d)
Sets the double.
|
static void |
setFloat(Object array,
int index,
float f)
Sets the float.
|
static void |
setInt(Object array,
int index,
int i)
Sets the int.
|
static void |
setLong(Object array,
int index,
long l)
Sets the long.
|
static void |
setShort(Object array,
int index,
short s)
Sets the short.
|
static boolean[] |
unbox(Boolean... a)
Converts an array of object Booleans to primitives.
|
static boolean[][] |
unbox(Boolean[][] a) |
static boolean[][][] |
unbox(Boolean[][][] a) |
static boolean[][][] |
unbox(Boolean[][][] a,
boolean valueForNull) |
static boolean[][] |
unbox(Boolean[][] a,
boolean valueForNull) |
static boolean[] |
unbox(Boolean[] a,
boolean valueForNull)
Converts an array of object Booleans to primitives handling
null. |
static boolean[] |
unbox(Boolean[] a,
int fromIndex,
int toIndex,
boolean valueForNull) |
static byte[] |
unbox(Byte... a)
Converts an array of object Bytes to primitives.
|
static byte[][] |
unbox(Byte[][] a) |
static byte[][][] |
unbox(Byte[][][] a) |
static byte[][][] |
unbox(Byte[][][] a,
byte valueForNull) |
static byte[][] |
unbox(Byte[][] a,
byte valueForNull) |
static byte[] |
unbox(Byte[] a,
byte valueForNull)
Converts an array of object Bytes to primitives handling
null. |
static byte[] |
unbox(Byte[] a,
int fromIndex,
int toIndex,
byte valueForNull) |
static char[] |
unbox(Character... a)
Converts an array of object Characters to primitives.
|
static char[][] |
unbox(Character[][] a) |
static char[][][] |
unbox(Character[][][] a) |
static char[][][] |
unbox(Character[][][] a,
char valueForNull) |
static char[][] |
unbox(Character[][] a,
char valueForNull) |
static char[] |
unbox(Character[] a,
char valueForNull)
Converts an array of object Character to primitives handling
null
. |
static char[] |
unbox(Character[] a,
int fromIndex,
int toIndex,
char valueForNull) |
static double[] |
unbox(Double... a)
Converts an array of object Doubles to primitives.
|
static double[][] |
unbox(Double[][] a) |
static double[][][] |
unbox(Double[][][] a) |
static double[][][] |
unbox(Double[][][] a,
double valueForNull) |
static double[][] |
unbox(Double[][] a,
double valueForNull) |
static double[] |
unbox(Double[] a,
double valueForNull)
Converts an array of object Doubles to primitives handling
null. |
static double[] |
unbox(Double[] a,
int fromIndex,
int toIndex,
double valueForNull) |
static float[] |
unbox(Float... a)
Converts an array of object Floats to primitives.
|
static float[][] |
unbox(Float[][] a) |
static float[][][] |
unbox(Float[][][] a) |
static float[][][] |
unbox(Float[][][] a,
float valueForNull) |
static float[][] |
unbox(Float[][] a,
float valueForNull) |
static float[] |
unbox(Float[] a,
float valueForNull)
Converts an array of object Floats to primitives handling
null. |
static float[] |
unbox(Float[] a,
int fromIndex,
int toIndex,
float valueForNull) |
static int[] |
unbox(Integer... a)
Converts an array of object Integers to primitives.
|
static int[][] |
unbox(Integer[][] a) |
static int[][][] |
unbox(Integer[][][] a) |
static int[][][] |
unbox(Integer[][][] a,
int valueForNull) |
static int[][] |
unbox(Integer[][] a,
int valueForNull) |
static int[] |
unbox(Integer[] a,
int valueForNull)
Converts an array of object Integer to primitives handling
null. |
static int[] |
unbox(Integer[] a,
int fromIndex,
int toIndex,
int valueForNull) |
static long[] |
unbox(Long... a)
Converts an array of object Longs to primitives.
|
static long[][] |
unbox(Long[][] a) |
static long[][][] |
unbox(Long[][][] a) |
static long[][][] |
unbox(Long[][][] a,
long valueForNull) |
static long[][] |
unbox(Long[][] a,
long valueForNull) |
static long[] |
unbox(Long[] a,
int fromIndex,
int toIndex,
long valueForNull) |
static long[] |
unbox(Long[] a,
long valueForNull)
Converts an array of object Long to primitives handling
null. |
static short[] |
unbox(Short... a)
Converts an array of object Shorts to primitives.
|
static short[][] |
unbox(Short[][] a) |
static short[][][] |
unbox(Short[][][] a) |
static short[][][] |
unbox(Short[][][] a,
short valueForNull) |
static short[][] |
unbox(Short[][] a,
short valueForNull) |
static short[] |
unbox(Short[] a,
int fromIndex,
int toIndex,
short valueForNull) |
static short[] |
unbox(Short[] a,
short valueForNull)
Converts an array of object Short to primitives handling
null. |
public static <T> T newInstance(Class<?> componentType, int length) throws NegativeArraySizeException
T - componentType - length - NegativeArraySizeException - the negative array size exception@SafeVarargs public static <T> T newInstance(Class<?> componentType, int... dimensions) throws IllegalArgumentException, NegativeArraySizeException
T - componentType - dimensions - IllegalArgumentException - the illegal argument exceptionNegativeArraySizeException - the negative array size exceptionpublic static int getLength(Object array) throws IllegalArgumentException
array - IllegalArgumentException - the illegal argument exceptionpublic static <T> T get(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
T - array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static boolean getBoolean(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static byte getByte(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static char getChar(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static short getShort(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static int getInt(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static long getLong(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static float getFloat(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static double getDouble(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void set(Object array, int index, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - value - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setBoolean(Object array, int index, boolean z) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - z - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setByte(Object array, int index, byte b) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - b - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setChar(Object array, int index, char c) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - c - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setShort(Object array, int index, short s) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - s - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setInt(Object array, int index, int i) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - i - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setLong(Object array, int index, long l) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - l - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setFloat(Object array, int index, float f) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - f - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exceptionpublic static void setDouble(Object array, int index, double d) throws IllegalArgumentException, ArrayIndexOutOfBoundsException
array - index - d - IllegalArgumentException - the illegal argument exceptionArrayIndexOutOfBoundsException - the array index out of bounds exception@SafeVarargs @NullSafe public static <T> List<T> asList(T... a)
T - a - Arrays.asList(Object...)@SafeVarargs public static boolean[] of(boolean... a)
a - @SafeVarargs public static char[] of(char... a)
a - @SafeVarargs public static byte[] of(byte... a)
a - @SafeVarargs public static short[] of(short... a)
a - @SafeVarargs public static int[] of(int... a)
a - @SafeVarargs public static long[] of(long... a)
a - @SafeVarargs public static float[] of(float... a)
a - @SafeVarargs public static double[] of(double... a)
a - @SafeVarargs public static String[] of(String... a)
a - @SafeVarargs public static <T extends Date> T[] of(T... a)
a - @SafeVarargs public static <T extends Calendar> T[] of(T... a)
a - @Deprecated @SafeVarargs public static <T> T[] oF(T... a)
N.asArray(Object...).T - a - public static char[] range(char startInclusive,
char endExclusive)
startInclusive - endExclusive - public static byte[] range(byte startInclusive,
byte endExclusive)
startInclusive - endExclusive - public static short[] range(short startInclusive,
short endExclusive)
startInclusive - endExclusive - public static int[] range(int startInclusive,
int endExclusive)
startInclusive - endExclusive - public static long[] range(long startInclusive,
long endExclusive)
startInclusive - endExclusive - public static char[] range(char startInclusive,
char endExclusive,
int by)
startInclusive - endExclusive - by - public static byte[] range(byte startInclusive,
byte endExclusive,
byte by)
startInclusive - endExclusive - by - public static short[] range(short startInclusive,
short endExclusive,
short by)
startInclusive - endExclusive - by - public static int[] range(int startInclusive,
int endExclusive,
int by)
startInclusive - endExclusive - by - public static long[] range(long startInclusive,
long endExclusive,
long by)
startInclusive - endExclusive - by - public static char[] rangeClosed(char startInclusive,
char endInclusive)
startInclusive - endInclusive - public static byte[] rangeClosed(byte startInclusive,
byte endInclusive)
startInclusive - endInclusive - public static short[] rangeClosed(short startInclusive,
short endInclusive)
startInclusive - endInclusive - public static int[] rangeClosed(int startInclusive,
int endInclusive)
startInclusive - endInclusive - public static long[] rangeClosed(long startInclusive,
long endInclusive)
startInclusive - endInclusive - public static char[] rangeClosed(char startInclusive,
char endInclusive,
int by)
startInclusive - endInclusive - by - public static byte[] rangeClosed(byte startInclusive,
byte endInclusive,
byte by)
startInclusive - endInclusive - by - public static short[] rangeClosed(short startInclusive,
short endInclusive,
short by)
startInclusive - endInclusive - by - public static int[] rangeClosed(int startInclusive,
int endInclusive,
int by)
startInclusive - endInclusive - by - public static long[] rangeClosed(long startInclusive,
long endInclusive,
long by)
startInclusive - endInclusive - by - public static boolean[] repeat(boolean element,
int n)
element - n - public static char[] repeat(char element,
int n)
element - n - public static byte[] repeat(byte element,
int n)
element - n - public static short[] repeat(short element,
int n)
element - n - public static int[] repeat(int element,
int n)
element - n - public static long[] repeat(long element,
int n)
element - n - public static float[] repeat(float element,
int n)
element - n - public static double[] repeat(double element,
int n)
element - n - @Deprecated public static <T> T[] repeat(T element, int n) throws NullPointerException
repeat(Object, int, Class) because this method throws NullPointerException when element is nullT - element - n - NullPointerException - if the specified element is null.repeat(Object, int, Class)@Deprecated public static <T> T[] repeat(Class<T> elementClass, T element, int n) throws NullPointerException
repeat(Object, int, Class)T - elementClass - element - n - NullPointerExceptionpublic static <T> T[] repeat(T element,
int n,
Class<T> elementClass)
throws NullPointerException
T - element - n - elementClass - NullPointerExceptionpublic static <T> T[] repeatNonNull(T element,
int n)
throws IllegalArgumentException
T - element - n - IllegalArgumentException - if the specified element is null.public static boolean[][] concat(boolean[][] a,
boolean[][] b)
a - b - public static boolean[][][] concat(boolean[][][] a,
boolean[][][] b)
a - b - public static char[][] concat(char[][] a,
char[][] b)
a - b - public static char[][][] concat(char[][][] a,
char[][][] b)
a - b - public static byte[][] concat(byte[][] a,
byte[][] b)
a - b - public static byte[][][] concat(byte[][][] a,
byte[][][] b)
a - b - public static short[][] concat(short[][] a,
short[][] b)
a - b - public static short[][][] concat(short[][][] a,
short[][][] b)
a - b - public static int[][] concat(int[][] a,
int[][] b)
a - b - public static int[][][] concat(int[][][] a,
int[][][] b)
a - b - public static long[][] concat(long[][] a,
long[][] b)
a - b - public static long[][][] concat(long[][][] a,
long[][][] b)
a - b - public static float[][] concat(float[][] a,
float[][] b)
a - b - public static float[][][] concat(float[][][] a,
float[][][] b)
a - b - public static double[][] concat(double[][] a,
double[][] b)
a - b - public static double[][][] concat(double[][][] a,
double[][][] b)
a - b - public static <T> T[][] concatt(T[][] a,
T[][] b)
T - a - b - public static <T> T[][][] concatt(T[][][] a,
T[][][] b)
T - a - b - @SafeVarargs public static Boolean[] box(boolean... a)
Converts an array of primitive booleans to objects.
This method returns null for a null input array.
a - a boolean arrayBoolean array, null if null array inputpublic static Boolean[] box(boolean[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - @SafeVarargs public static Character[] box(char... a)
Converts an array of primitive chars to objects.
This method returns null for a null input array.
a - a char arrayCharacter array, null if null array inputpublic static Character[] box(char[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - @SafeVarargs public static Byte[] box(byte... a)
Converts an array of primitive bytes to objects.
This method returns null for a null input array.
a - a byte arrayByte array, null if null array inputpublic static Byte[] box(byte[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - @SafeVarargs public static Short[] box(short... a)
Converts an array of primitive shorts to objects.
This method returns null for a null input array.
a - a short arrayShort array, null if null array inputpublic static Short[] box(short[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - @SafeVarargs public static Integer[] box(int... a)
Converts an array of primitive ints to objects.
This method returns null for a null input array.
a - an int arrayInteger array, null if null array inputpublic static Integer[] box(int[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - @SafeVarargs public static Long[] box(long... a)
Converts an array of primitive longs to objects.
This method returns null for a null input array.
a - a long arrayLong array, null if null array inputpublic static Long[] box(long[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - @SafeVarargs public static Float[] box(float... a)
Converts an array of primitive floats to objects.
This method returns null for a null input array.
a - a float arrayFloat array, null if null array inputpublic static Float[] box(float[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - @SafeVarargs public static Double[] box(double... a)
Converts an array of primitive doubles to objects.
This method returns null for a null input array.
a - a double arrayDouble array, null if null array inputpublic static Double[] box(double[] a, int fromIndex, int toIndex)
a - fromIndex - toIndex - public static Boolean[][] box(boolean[][] a)
a - public static Character[][] box(char[][] a)
a - public static Byte[][] box(byte[][] a)
a - public static Short[][] box(short[][] a)
a - public static Integer[][] box(int[][] a)
a - public static Long[][] box(long[][] a)
a - public static Float[][] box(float[][] a)
a - public static Double[][] box(double[][] a)
a - public static Boolean[][][] box(boolean[][][] a)
a - public static Character[][][] box(char[][][] a)
a - public static Byte[][][] box(byte[][][] a)
a - public static Short[][][] box(short[][][] a)
a - public static Integer[][][] box(int[][][] a)
a - public static Long[][][] box(long[][][] a)
a - public static Float[][][] box(float[][][] a)
a - public static Double[][][] box(double[][][] a)
a - @SafeVarargs public static boolean[] unbox(Boolean... a)
Converts an array of object Booleans to primitives.
This method returns null for a null input array.
a - a Boolean array, may be nullboolean array, null if null array inputpublic static boolean[] unbox(Boolean[] a, boolean valueForNull)
Converts an array of object Booleans to primitives handling null.
This method returns null for a null input array.
a - a Boolean array, may be nullvalueForNull - the value to insert if null foundboolean array, null if null array inputpublic static boolean[] unbox(Boolean[] a, int fromIndex, int toIndex, boolean valueForNull)
a - fromIndex - toIndex - valueForNull - @SafeVarargs public static char[] unbox(Character... a)
Converts an array of object Characters to primitives.
This method returns null for a null input array.
a - a Character array, may be nullchar array, null if null array inputpublic static char[] unbox(Character[] a, char valueForNull)
Converts an array of object Character to primitives handling null
.
This method returns null for a null input array.
a - a Character array, may be nullvalueForNull - the value to insert if null foundchar array, null if null array inputpublic static char[] unbox(Character[] a, int fromIndex, int toIndex, char valueForNull)
a - fromIndex - toIndex - valueForNull - @SafeVarargs public static byte[] unbox(Byte... a)
Converts an array of object Bytes to primitives.
This method returns null for a null input array.
a - a Byte array, may be nullbyte array, null if null array inputpublic static byte[] unbox(Byte[] a, byte valueForNull)
Converts an array of object Bytes to primitives handling null.
This method returns null for a null input array.
a - a Byte array, may be nullvalueForNull - the value to insert if null foundbyte array, null if null array inputpublic static byte[] unbox(Byte[] a, int fromIndex, int toIndex, byte valueForNull)
a - fromIndex - toIndex - valueForNull - @SafeVarargs public static short[] unbox(Short... a)
Converts an array of object Shorts to primitives.
This method returns null for a null input array.
a - a Short array, may be nullbyte array, null if null array inputpublic static short[] unbox(Short[] a, short valueForNull)
Converts an array of object Short to primitives handling null.
This method returns null for a null input array.
a - a Short array, may be nullvalueForNull - the value to insert if null foundbyte array, null if null array inputpublic static short[] unbox(Short[] a, int fromIndex, int toIndex, short valueForNull)
a - fromIndex - toIndex - valueForNull - @SafeVarargs public static int[] unbox(Integer... a)
Converts an array of object Integers to primitives.
This method returns null for a null input array.
a - a Integer array, may be nullint array, null if null array inputpublic static int[] unbox(Integer[] a, int valueForNull)
Converts an array of object Integer to primitives handling null.
This method returns null for a null input array.
a - a Integer array, may be nullvalueForNull - the value to insert if null foundint array, null if null array inputpublic static int[] unbox(Integer[] a, int fromIndex, int toIndex, int valueForNull)
a - fromIndex - toIndex - valueForNull - @SafeVarargs public static long[] unbox(Long... a)
Converts an array of object Longs to primitives.
This method returns null for a null input array.
a - a Long array, may be nulllong array, null if null array inputpublic static long[] unbox(Long[] a, long valueForNull)
Converts an array of object Long to primitives handling null.
This method returns null for a null input array.
a - a Long array, may be nullvalueForNull - the value to insert if null foundlong array, null if null array inputpublic static long[] unbox(Long[] a, int fromIndex, int toIndex, long valueForNull)
a - fromIndex - toIndex - valueForNull - @SafeVarargs public static float[] unbox(Float... a)
Converts an array of object Floats to primitives.
This method returns null for a null input array.
a - a Float array, may be nullfloat array, null if null array inputpublic static float[] unbox(Float[] a, float valueForNull)
Converts an array of object Floats to primitives handling null.
This method returns null for a null input array.
a - a Float array, may be nullvalueForNull - the value to insert if null foundfloat array, null if null array inputpublic static float[] unbox(Float[] a, int fromIndex, int toIndex, float valueForNull)
a - fromIndex - toIndex - valueForNull - @SafeVarargs public static double[] unbox(Double... a)
Converts an array of object Doubles to primitives.
This method returns null for a null input array.
a - a Double array, may be nulldouble array, null if null array inputpublic static double[] unbox(Double[] a, double valueForNull)
Converts an array of object Doubles to primitives handling null.
This method returns null for a null input array.
a - a Double array, may be nullvalueForNull - the value to insert if null founddouble array, null if null array inputpublic static double[] unbox(Double[] a, int fromIndex, int toIndex, double valueForNull)
a - fromIndex - toIndex - valueForNull - public static boolean[][] unbox(Boolean[][] a)
a - public static boolean[][] unbox(Boolean[][] a, boolean valueForNull)
a - valueForNull - public static char[][] unbox(Character[][] a)
a - public static char[][] unbox(Character[][] a, char valueForNull)
a - valueForNull - public static byte[][] unbox(Byte[][] a)
a - public static byte[][] unbox(Byte[][] a, byte valueForNull)
a - valueForNull - public static short[][] unbox(Short[][] a)
a - public static short[][] unbox(Short[][] a, short valueForNull)
a - valueForNull - public static int[][] unbox(Integer[][] a)
a - public static int[][] unbox(Integer[][] a, int valueForNull)
a - valueForNull - public static long[][] unbox(Long[][] a)
a - public static long[][] unbox(Long[][] a, long valueForNull)
a - valueForNull - public static float[][] unbox(Float[][] a)
a - public static float[][] unbox(Float[][] a, float valueForNull)
a - valueForNull - public static double[][] unbox(Double[][] a)
a - public static double[][] unbox(Double[][] a, double valueForNull)
a - valueForNull - public static boolean[][][] unbox(Boolean[][][] a)
a - public static boolean[][][] unbox(Boolean[][][] a, boolean valueForNull)
a - valueForNull - public static char[][][] unbox(Character[][][] a)
a - public static char[][][] unbox(Character[][][] a, char valueForNull)
a - valueForNull - public static byte[][][] unbox(Byte[][][] a)
a - public static byte[][][] unbox(Byte[][][] a, byte valueForNull)
a - valueForNull - public static short[][][] unbox(Short[][][] a)
a - public static short[][][] unbox(Short[][][] a, short valueForNull)
a - valueForNull - public static int[][][] unbox(Integer[][][] a)
a - public static int[][][] unbox(Integer[][][] a, int valueForNull)
a - valueForNull - public static long[][][] unbox(Long[][][] a)
a - public static long[][][] unbox(Long[][][] a, long valueForNull)
a - valueForNull - public static float[][][] unbox(Float[][][] a)
a - public static float[][][] unbox(Float[][][] a, float valueForNull)
a - valueForNull - public static double[][][] unbox(Double[][][] a)
a - public static double[][][] unbox(Double[][][] a, double valueForNull)
a - valueForNull - Copyright © 2021. All rights reserved.