public class PrimitiveArrays extends Object
| 构造器和说明 |
|---|
PrimitiveArrays() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean[] |
unwrap(Boolean[] values,
boolean resultNullable)
convert a Boolean[] to a boolean[]
|
static byte[] |
unwrap(Byte[] values,
boolean resultNullable)
convert a Byte[] to a byte[]
|
static char[] |
unwrap(Character[] values,
boolean resultNullable)
convert a Character[] to a char[]
|
static double[] |
unwrap(Double[] values,
boolean resultNullable)
convert a Double[] to a double[]
|
static float[] |
unwrap(Float[] values,
boolean resultNullable)
convert a Float[] to a float[]
|
static int[] |
unwrap(Integer[] values,
boolean resultNullable)
convert a Integer[] to a int[]
|
static long[] |
unwrap(Long[] values,
boolean resultNullable)
convert a Long[] to a long[]
|
static short[] |
unwrap(Short[] values,
boolean resultNullable)
convert a Short[] to a short[]
|
static Boolean[] |
wrap(boolean[] values,
boolean resultNullable)
convert a boolean[] to a Boolean[]
|
static Byte[] |
wrap(byte[] values,
boolean resultNullable)
convert a byte[] to a Byte[]
|
static Character[] |
wrap(char[] values,
boolean resultNullable)
convert a char[] to a Character[]
|
static Double[] |
wrap(double[] values,
boolean resultNullable)
convert a double[] to a Double[]
|
static Float[] |
wrap(float[] values,
boolean resultNullable)
convert a float[] to a Float[]
|
static Integer[] |
wrap(int[] values,
boolean resultNullable)
convert a int[] to a Integer[]
|
static Long[] |
wrap(long[] values,
boolean resultNullable)
convert a long[] to a Long[]
|
static Short[] |
wrap(short[] values,
boolean resultNullable)
convert a short[] to a Short[]
|
public static Boolean[] wrap(@Nullable boolean[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static boolean[] unwrap(@Nullable Boolean[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static Character[] wrap(@Nullable char[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static char[] unwrap(@Nullable Character[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static Byte[] wrap(@Nullable byte[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static byte[] unwrap(@Nullable Byte[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static Short[] wrap(@Nullable short[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static short[] unwrap(@Nullable Short[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static Integer[] wrap(@Nullable int[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static int[] unwrap(@Nullable Integer[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static Float[] wrap(@Nullable float[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static float[] unwrap(@Nullable Float[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static Long[] wrap(@Nullable long[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static long[] unwrap(@Nullable Long[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notpublic static Double[] wrap(@Nullable double[] values, boolean resultNullable)
values - sourceresultNullable - whether return null when source is null or notCopyright © 2019. All rights reserved.