Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Field and Description |
---|---|
static Class<Byte> |
Byte.TYPE
The
Class instance representing the primitive type
byte . |
Modifier and Type | Method and Description |
---|---|
static Byte |
Byte.decode(String nm)
Decodes a
String into a Byte . |
static Byte |
Byte.valueOf(byte b)
Returns a
Byte instance representing the specified
byte value. |
static Byte |
Byte.valueOf(String s)
Returns a
Byte object holding the value
given by the specified String . |
static Byte |
Byte.valueOf(String s,
int radix)
Returns a
Byte object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
Modifier and Type | Method and Description |
---|---|
int |
Byte.compareTo(Byte anotherByte)
Compares two
Byte objects numerically. |