构造方法摘要
Byte(byte value)

构造一个新分配的 Byte 对象,以表示指定的 byte 值。
Byte(String s)

构造一个新分配的 Byte 对象,以表示 String 参数所指示的 byte 值。


返回类型 方法描述
byte byteValue()

作为一个 byte 返回此 Byte 的值。
int compareTo(Byte anotherByte)

在数字上比较两个 Byte 对象。
static Byte decode(String nm)

将 String 解码为 Byte。
double doubleValue()

作为一个 double 返回此 Byte 的值。
boolean equals(Object obj)

将此对象与指定对象比较。
float floatValue()

作为一个 float 返回此 Byte 的值。
int hashCode()

返回此 Byte 的哈希码。
int intValue()

作为一个 int 返回此 Byte 的值。
long longValue()

作为一个 long 返回此 Byte 的值。
static byte parseByte(String s)

将 string 参数解析为有符号的十进制 byte。
static byte parseByte(String s, int radix)

将 string 参数解析为一个有符号的 byte,其基数由第二个参数指定。
short shortValue()

作为一个 short 返回此 Byte 的值。
String toString()

返回表示此 Byte 的值的 String 对象。
static String toString(byte b)

返回表示指定 byte 的一个新 String 对象。
static Byte valueOf(byte b)

返回表示指定 byte 值的一个 Byte 实例。
static Byte valueOf(String s)

返回一个保持指定 String 所给出的值的 Byte 对象。
static Byte valueOf(String s, int radix)

返回一个 Byte 对象,该对象保持从指定的 String 中提取的值,该值是在用第二个参数所给定的基数对指定字符串进行解析时提取的。