Primitives
instead@Deprecated
public final class Primitives
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Function1<byte[],byte[]> |
BYTE_ARRAY_CLONER
Deprecated.
Function which clones byte arrays.
|
static Function1<char[],char[]> |
CHAR_ARRAY_CLONER
Deprecated.
Function which clones char arrays.
|
static Function1<double[],double[]> |
DOUBLE_ARRAY_CLONER
Deprecated.
Function which clones double arrays.
|
static Function1<float[],float[]> |
FLOAT_ARRAY_CLONER
Deprecated.
Function which clones float arrays.
|
static Function1<int[],int[]> |
INT_ARRAY_CLONER
Deprecated.
Function which clones int arrays.
|
static Function1<long[],long[]> |
LONG_ARRAY_CLONER
Deprecated.
Function which clones long arrays.
|
static Function1<short[],short[]> |
SHORT_ARRAY_CLONER
Deprecated.
Function which clones short arrays.
|
Modifier and Type | Method and Description |
---|---|
static int |
unsigned(byte b)
Deprecated.
Get the unsigned value of a byte.
|
static long |
unsigned(int i)
Deprecated.
Get the unsigned value of an integer.
|
static int |
unsigned(short s)
Deprecated.
Get the unsigned value of a short int.
|
public static final Function1<byte[],byte[]> BYTE_ARRAY_CLONER
null
is accepted.public static final Function1<short[],short[]> SHORT_ARRAY_CLONER
null
is accepted.public static final Function1<int[],int[]> INT_ARRAY_CLONER
null
is accepted.public static final Function1<long[],long[]> LONG_ARRAY_CLONER
null
is accepted.public static final Function1<char[],char[]> CHAR_ARRAY_CLONER
null
is accepted.public static final Function1<float[],float[]> FLOAT_ARRAY_CLONER
null
is accepted.public static final Function1<double[],double[]> DOUBLE_ARRAY_CLONER
null
is accepted.public static int unsigned(byte b)
b
- byte value0x00
and 0xFF
public static int unsigned(short s)
s
- short value0x0000
and 0xFFFF
public static long unsigned(int i)
i
- int value0x00000000
and 0xFFFFFFFF