Class Array
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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
static boolean
getBoolean
(Object array, int index) Gets the boolean.static byte
Gets the byte.static char
Gets the char.static double
Gets the double.static float
Gets the float.static int
Gets the int.static int
Gets the length.static long
Gets the long.static short
Gets the short.static <T> T
newInstance
(Class<?> componentType, int length) static <T> T
newInstance
(Class<?> componentType, int... dimensions) 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[]
Returns the input array.static <T extends Date>
T[]of
(T... a) Returns the input array.static <T> T[]
oF
(T... a) Deprecated.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 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 <T> T[]
Deprecated.static String[]
static <T> T[]
repeat
(T element, int n) Deprecated.prefer torepeat(Object, int, Class)
because this method throws NullPointerException when element isnull
static <T> T[]
static <T> T[]
repeatNonNull
(T element, int n) static void
static void
setBoolean
(Object array, int index, boolean z) Sets the boolean.static void
Sets the byte.static void
Sets the char.static void
Sets the double.static void
Sets the float.static void
Sets the int.static void
Sets the long.static void
Sets the short.static boolean[]
Converts an array of object Booleans to primitives.static boolean[][]
static boolean[][][]
static boolean[][][]
static boolean[][]
static boolean[]
Converts an array of object Booleans to primitives handlingnull
.static boolean[]
static byte[]
Converts an array of object Bytes to primitives.static byte[][]
static byte[][][]
static byte[][][]
static byte[][]
static byte[]
Converts an array of object Bytes to primitives handlingnull
.static byte[]
static char[]
Converts an array of object Characters to primitives.static char[][]
static char[][][]
static char[][][]
static char[][]
static char[]
Converts an array of object Character to primitives handlingnull
.static char[]
static double[]
Converts an array of object Doubles to primitives.static double[][]
static double[][][]
static double[][][]
static double[][]
static double[]
Converts an array of object Doubles to primitives handlingnull
.static double[]
static float[]
Converts an array of object Floats to primitives.static float[][]
static float[][][]
static float[][][]
static float[][]
static float[]
Converts an array of object Floats to primitives handlingnull
.static float[]
static int[]
Converts an array of object Integers to primitives.static int[][]
static int[][][]
static int[][][]
static int[][]
static int[]
Converts an array of object Integer to primitives handlingnull
.static int[]
static long[]
Converts an array of object Longs to primitives.static long[][]
static long[][][]
static long[][][]
static long[][]
static long[]
static long[]
Converts an array of object Long to primitives handlingnull
.static short[]
Converts an array of object Shorts to primitives.static short[][]
static short[][][]
static short[][][]
static short[][]
static short[]
static short[]
Converts an array of object Short to primitives handlingnull
.
-
Method Details
-
newInstance
public static <T> T newInstance(Class<?> componentType, int length) throws NegativeArraySizeException - Type Parameters:
T
-- Parameters:
componentType
-length
-- Returns:
- Throws:
NegativeArraySizeException
- the negative array size exception
-
newInstance
@SafeVarargs public static <T> T newInstance(Class<?> componentType, int... dimensions) throws IllegalArgumentException, NegativeArraySizeException - Type Parameters:
T
-- Parameters:
componentType
-dimensions
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionNegativeArraySizeException
- the negative array size exception
-
getLength
Gets the length.- Parameters:
array
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exception
-
get
public static <T> T get(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException - Type Parameters:
T
-- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getBoolean
public static boolean getBoolean(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the boolean.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getByte
public static byte getByte(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the byte.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getChar
public static char getChar(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the char.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getShort
public static short getShort(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the short.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getInt
public static int getInt(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the int.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getLong
public static long getLong(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the long.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getFloat
public static float getFloat(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the float.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
getDouble
public static double getDouble(Object array, int index) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Gets the double.- Parameters:
array
-index
-- Returns:
- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
set
public static void set(Object array, int index, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException - Parameters:
array
-index
-value
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setBoolean
public static void setBoolean(Object array, int index, boolean z) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the boolean.- Parameters:
array
-index
-z
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setByte
public static void setByte(Object array, int index, byte b) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the byte.- Parameters:
array
-index
-b
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setChar
public static void setChar(Object array, int index, char c) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the char.- Parameters:
array
-index
-c
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setShort
public static void setShort(Object array, int index, short s) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the short.- Parameters:
array
-index
-s
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setInt
public static void setInt(Object array, int index, int i) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the int.- Parameters:
array
-index
-i
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setLong
public static void setLong(Object array, int index, long l) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the long.- Parameters:
array
-index
-l
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setFloat
public static void setFloat(Object array, int index, float f) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the float.- Parameters:
array
-index
-f
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
setDouble
public static void setDouble(Object array, int index, double d) throws IllegalArgumentException, ArrayIndexOutOfBoundsException Sets the double.- Parameters:
array
-index
-d
-- Throws:
IllegalArgumentException
- the illegal argument exceptionArrayIndexOutOfBoundsException
- the array index out of bounds exception
-
asList
Returns a fixed-size list backed by the specified array if it's not null or empty, otherwise an immutable empty list is returned.- Type Parameters:
T
-- Parameters:
a
-- Returns:
- See Also:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
of
Returns the input array.- Parameters:
a
-- Returns:
-
oF
Deprecated.please useN.asArray(Object...)
.Returns the input array.- Type Parameters:
T
-- Parameters:
a
-- Returns:
-
range
public static char[] range(char startInclusive, char endExclusive) - Parameters:
startInclusive
-endExclusive
-- Returns:
-
range
public static byte[] range(byte startInclusive, byte endExclusive) - Parameters:
startInclusive
-endExclusive
-- Returns:
-
range
public static short[] range(short startInclusive, short endExclusive) - Parameters:
startInclusive
-endExclusive
-- Returns:
-
range
public static int[] range(int startInclusive, int endExclusive) - Parameters:
startInclusive
-endExclusive
-- Returns:
-
range
public static long[] range(long startInclusive, long endExclusive) - Parameters:
startInclusive
-endExclusive
-- Returns:
-
range
public static char[] range(char startInclusive, char endExclusive, int by) - Parameters:
startInclusive
-endExclusive
-by
-- Returns:
-
range
public static byte[] range(byte startInclusive, byte endExclusive, byte by) - Parameters:
startInclusive
-endExclusive
-by
-- Returns:
-
range
public static short[] range(short startInclusive, short endExclusive, short by) - Parameters:
startInclusive
-endExclusive
-by
-- Returns:
-
range
public static int[] range(int startInclusive, int endExclusive, int by) - Parameters:
startInclusive
-endExclusive
-by
-- Returns:
-
range
public static long[] range(long startInclusive, long endExclusive, long by) - Parameters:
startInclusive
-endExclusive
-by
-- Returns:
-
rangeClosed
public static char[] rangeClosed(char startInclusive, char endInclusive) - Parameters:
startInclusive
-endInclusive
-- Returns:
-
rangeClosed
public static byte[] rangeClosed(byte startInclusive, byte endInclusive) - Parameters:
startInclusive
-endInclusive
-- Returns:
-
rangeClosed
public static short[] rangeClosed(short startInclusive, short endInclusive) - Parameters:
startInclusive
-endInclusive
-- Returns:
-
rangeClosed
public static int[] rangeClosed(int startInclusive, int endInclusive) - Parameters:
startInclusive
-endInclusive
-- Returns:
-
rangeClosed
public static long[] rangeClosed(long startInclusive, long endInclusive) - Parameters:
startInclusive
-endInclusive
-- Returns:
-
rangeClosed
public static char[] rangeClosed(char startInclusive, char endInclusive, int by) - Parameters:
startInclusive
-endInclusive
-by
-- Returns:
-
rangeClosed
public static byte[] rangeClosed(byte startInclusive, byte endInclusive, byte by) - Parameters:
startInclusive
-endInclusive
-by
-- Returns:
-
rangeClosed
public static short[] rangeClosed(short startInclusive, short endInclusive, short by) - Parameters:
startInclusive
-endInclusive
-by
-- Returns:
-
rangeClosed
public static int[] rangeClosed(int startInclusive, int endInclusive, int by) - Parameters:
startInclusive
-endInclusive
-by
-- Returns:
-
rangeClosed
public static long[] rangeClosed(long startInclusive, long endInclusive, long by) - Parameters:
startInclusive
-endInclusive
-by
-- Returns:
-
repeat
public static boolean[] repeat(boolean element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
public static char[] repeat(char element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
public static byte[] repeat(byte element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
public static short[] repeat(short element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
public static int[] repeat(int element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
public static long[] repeat(long element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
public static float[] repeat(float element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
public static double[] repeat(double element, int n) - Parameters:
element
-n
-- Returns:
-
repeat
-
repeat
Deprecated.prefer torepeat(Object, int, Class)
because this method throws NullPointerException when element isnull
- Type Parameters:
T
-- Parameters:
element
-n
-- Returns:
- Throws:
NullPointerException
- if the specifiedelement
is null.- See Also:
-
repeat
@Deprecated public static <T> T[] repeat(Class<? extends T> elementClass, T element, int n) throws NullPointerException Deprecated.- Type Parameters:
T
-- Parameters:
elementClass
-element
-n
-- Returns:
- Throws:
NullPointerException
-
repeat
public static <T> T[] repeat(T element, int n, Class<? extends T> elementClass) throws NullPointerException - Type Parameters:
T
-- Parameters:
element
-n
-elementClass
-- Returns:
- Throws:
NullPointerException
-
repeatNonNull
- Type Parameters:
T
-- Parameters:
element
-n
-- Returns:
- Throws:
IllegalArgumentException
- if the specifiedelement
is null.
-
concat
public static boolean[][] concat(boolean[][] a, boolean[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static boolean[][][] concat(boolean[][][] a, boolean[][][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static char[][] concat(char[][] a, char[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static char[][][] concat(char[][][] a, char[][][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static byte[][] concat(byte[][] a, byte[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static byte[][][] concat(byte[][][] a, byte[][][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static short[][] concat(short[][] a, short[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static short[][][] concat(short[][][] a, short[][][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static int[][] concat(int[][] a, int[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static int[][][] concat(int[][][] a, int[][][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static long[][] concat(long[][] a, long[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static long[][][] concat(long[][][] a, long[][][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static float[][] concat(float[][] a, float[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static float[][][] concat(float[][][] a, float[][][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static double[][] concat(double[][] a, double[][] b) - Parameters:
a
-b
-- Returns:
-
concat
public static double[][][] concat(double[][][] a, double[][][] b) - Parameters:
a
-b
-- Returns:
-
concatt
public static <T> T[][] concatt(T[][] a, T[][] b) - Type Parameters:
T
-- Parameters:
a
-b
-- Returns:
-
concatt
public static <T> T[][][] concatt(T[][][] a, T[][][] b) - Type Parameters:
T
-- Parameters:
a
-b
-- Returns:
-
box
Converts an array of primitive booleans to objects.
This method returns
null
for anull
input array.- Parameters:
a
- aboolean
array- Returns:
- a
Boolean
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
Converts an array of primitive chars to objects.
This method returns
null
for anull
input array.- Parameters:
a
- achar
array- Returns:
- a
Character
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
Converts an array of primitive bytes to objects.
This method returns
null
for anull
input array.- Parameters:
a
- abyte
array- Returns:
- a
Byte
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
Converts an array of primitive shorts to objects.
This method returns
null
for anull
input array.- Parameters:
a
- ashort
array- Returns:
- a
Short
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
Converts an array of primitive ints to objects.
This method returns
null
for anull
input array.- Parameters:
a
- anint
array- Returns:
- an
Integer
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
Converts an array of primitive longs to objects.
This method returns
null
for anull
input array.- Parameters:
a
- along
array- Returns:
- a
Long
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
Converts an array of primitive floats to objects.
This method returns
null
for anull
input array.- Parameters:
a
- afloat
array- Returns:
- a
Float
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
Converts an array of primitive doubles to objects.
This method returns
null
for anull
input array.- Parameters:
a
- adouble
array- Returns:
- a
Double
array,null
if null array input
-
box
- Parameters:
a
-fromIndex
-toIndex
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
box
- Parameters:
a
-- Returns:
-
unbox
Converts an array of object Booleans to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aBoolean
array, may benull
- Returns:
- a
boolean
array,null
if null array input
-
unbox
Converts an array of object Booleans to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aBoolean
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- a
boolean
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
Converts an array of object Characters to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aCharacter
array, may benull
- Returns:
- a
char
array,null
if null array input
-
unbox
Converts an array of object Character to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aCharacter
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- a
char
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
Converts an array of object Bytes to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aByte
array, may benull
- Returns:
- a
byte
array,null
if null array input
-
unbox
Converts an array of object Bytes to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aByte
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- a
byte
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
Converts an array of object Shorts to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aShort
array, may benull
- Returns:
- a
byte
array,null
if null array input
-
unbox
Converts an array of object Short to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aShort
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- a
byte
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
Converts an array of object Integers to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aInteger
array, may benull
- Returns:
- an
int
array,null
if null array input
-
unbox
Converts an array of object Integer to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aInteger
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- an
int
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
Converts an array of object Longs to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aLong
array, may benull
- Returns:
- a
long
array,null
if null array input
-
unbox
Converts an array of object Long to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aLong
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- a
long
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
Converts an array of object Floats to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aFloat
array, may benull
- Returns:
- a
float
array,null
if null array input
-
unbox
Converts an array of object Floats to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aFloat
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- a
float
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
Converts an array of object Doubles to primitives.
This method returns
null
for anull
input array.- Parameters:
a
- aDouble
array, may benull
- Returns:
- a
double
array,null
if null array input
-
unbox
Converts an array of object Doubles to primitives handling
null
.This method returns
null
for anull
input array.- Parameters:
a
- aDouble
array, may benull
valueForNull
- the value to insert ifnull
found- Returns:
- a
double
array,null
if null array input
-
unbox
- Parameters:
a
-fromIndex
-toIndex
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
unbox
- Parameters:
a
-- Returns:
-
unbox
- Parameters:
a
-valueForNull
-- Returns:
-
N.asArray(Object...)
.