public final class Byte extends Number implements Comparable<Byte>
byte
as an object.Modifier and Type | Field and Description |
---|---|
static int |
BYTES |
static byte |
MAX_VALUE |
static byte |
MIN_VALUE |
static int |
SIZE |
static Class<Byte> |
TYPE |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static int |
compare(byte x,
byte y) |
int |
compareTo(Byte b) |
static Byte |
decode(String s) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
static int |
hashCode(byte b) |
int |
intValue() |
long |
longValue() |
static byte |
parseByte(String s) |
static byte |
parseByte(String s,
int radix) |
short |
shortValue() |
String |
toString() |
static String |
toString(byte b) |
static Byte |
valueOf(byte b) |
static Byte |
valueOf(String s) |
static Byte |
valueOf(String s,
int radix) |
__decodeAndValidateInt, __decodeNumberString, __parseAndValidateDouble, __parseAndValidateInt, __parseAndValidateLong
$isInstance
public static final byte MIN_VALUE
public static final byte MAX_VALUE
public static final int SIZE
public static final int BYTES
public Byte(byte value)
public Byte(String s)
public static int compare(byte x, byte y)
public static Byte decode(String s) throws NumberFormatException
NumberFormatException
public static int hashCode(byte b)
public static byte parseByte(String s) throws NumberFormatException
NumberFormatException
public static byte parseByte(String s, int radix) throws NumberFormatException
NumberFormatException
public static String toString(byte b)
public static Byte valueOf(byte b)
public static Byte valueOf(String s) throws NumberFormatException
NumberFormatException
public static Byte valueOf(String s, int radix) throws NumberFormatException
NumberFormatException
public int compareTo(Byte b)
compareTo
in interface Comparable<Byte>
public double doubleValue()
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
public short shortValue()
shortValue
in class Number
Copyright © 2018. All rights reserved.