Package java.lang
Class Byte
- java.lang.Object
-
- java.lang.Number
-
- java.lang.Byte
-
- All Implemented Interfaces:
Serializable
,Comparable
public final class Byte extends Number implements Comparable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
byteValue()
int
compareTo(Byte var0)
int
compareTo(Object var0)
static Byte
decode(String var0)
double
doubleValue()
boolean
equals(Object var0)
float
floatValue()
int
hashCode()
int
intValue()
long
longValue()
static byte
parseByte(String var0)
static byte
parseByte(String var0, int var1)
short
shortValue()
String
toString()
static String
toString(byte var0)
static Byte
valueOf(String var0)
static Byte
valueOf(String var0, int var1)
-
-
-
Field Detail
-
MAX_VALUE
public static final byte MAX_VALUE
- See Also:
- Constant Field Values
-
MIN_VALUE
public static final byte MIN_VALUE
- See Also:
- Constant Field Values
-
TYPE
public static final Class TYPE
-
-
Constructor Detail
-
Byte
public Byte(byte var0)
-
Byte
public Byte(String var0) throws NumberFormatException
- Throws:
NumberFormatException
-
-
Method Detail
-
compareTo
public int compareTo(Byte var0)
-
compareTo
public int compareTo(Object var0)
- Specified by:
compareTo
in interfaceComparable
-
decode
public static Byte decode(String var0) throws NumberFormatException
- Throws:
NumberFormatException
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classNumber
-
parseByte
public static byte parseByte(String var0) throws NumberFormatException
- Throws:
NumberFormatException
-
parseByte
public static byte parseByte(String var0, int var1) throws NumberFormatException
- Throws:
NumberFormatException
-
shortValue
public short shortValue()
- Overrides:
shortValue
in classNumber
-
toString
public static String toString(byte var0)
-
valueOf
public static Byte valueOf(String var0) throws NumberFormatException
- Throws:
NumberFormatException
-
valueOf
public static Byte valueOf(String var0, int var1) throws NumberFormatException
- Throws:
NumberFormatException
-
-