public final class Byte extends Number
| Modifier and Type | Field and Description |
|---|---|
static byte |
MAX_VALUE |
static byte |
MIN_VALUE |
static int |
SIZE |
static Class<?> |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue()
Return the byte value of this Number.
|
int |
compareTo(Object o) |
double |
doubleValue()
Return the double value of this Number.
|
boolean |
equals(Object o) |
float |
floatValue()
Return the float value of this Number.
|
int |
hashCode() |
int |
intValue()
Return the int value of this Number.
|
long |
longValue()
Return the long value of this Number.
|
static byte |
parseByte(String s) |
static byte |
parseByte(String s,
int radix) |
short |
shortValue()
Return the short value of this Number.
|
String |
toString() |
static String |
toString(byte b) |
static Byte |
valueOf(byte b) |
static Byte |
valueOf(String s) |
static Byte |
valueOf(String s,
int radix) |
public static final byte MAX_VALUE
public static final byte MIN_VALUE
public static final int SIZE
public static final Class<?> TYPE
public Byte(byte value)
public Byte(String s)
public byte byteValue()
Numberpublic int compareTo(Object o)
public double doubleValue()
NumberdoubleValue in class Numberpublic float floatValue()
NumberfloatValue in class Numberpublic int intValue()
Numberpublic long longValue()
Numberpublic static byte parseByte(String s) throws NumberFormatException
NumberFormatExceptionpublic static byte parseByte(String s, int radix) throws NumberFormatException
NumberFormatExceptionpublic short shortValue()
NumbershortValue in class Numberpublic static String toString(byte b)
public static Byte valueOf(byte b)