public final class Byte extends Number implements Comparable<Byte>
| Modifier and Type | Field and Description |
|---|---|
static byte |
MAX_VALUE |
static byte |
MIN_VALUE |
static int |
SIZE |
static Class<Byte> |
TYPE |
| Constructor and Description |
|---|
Byte(byte value) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
int |
compare(byte b1,
byte b2) |
int |
compareTo(Byte b) |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
static byte |
parseByte(String s) |
static byte |
parseByte(String s,
int radix) |
String |
toString() |
static Byte |
valueOf(byte i) |
shortValuepublic static final int SIZE
public static final byte MAX_VALUE
public static final byte MIN_VALUE
public static byte parseByte(String s) throws NumberFormatException
NumberFormatExceptionpublic static byte parseByte(String s, int radix) throws NumberFormatException
NumberFormatExceptionpublic static Byte valueOf(byte i)
public float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int compare(byte b1,
byte b2)
public int compareTo(Byte b)
compareTo in interface Comparable<Byte>Copyright © 2026. All rights reserved.