Package java.lang
Class Byte
java.lang.Object
java.lang.Number
java.lang.Byte
- All Implemented Interfaces:
Serializable
,Comparable
- See Also:
-
Field Details
-
MAX_VALUE
public static final byte MAX_VALUE- See Also:
-
MIN_VALUE
public static final byte MIN_VALUE- See Also:
-
TYPE
-
-
Constructor Details
-
Byte
public Byte(byte var0) -
Byte
- Throws:
NumberFormatException
-
-
Method Details
-
byteValue
public byte byteValue() -
compareTo
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
decode
- Throws:
NumberFormatException
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
hashCode
public int hashCode() -
intValue
public int intValue() -
longValue
public long longValue() -
parseByte
- Throws:
NumberFormatException
-
parseByte
- Throws:
NumberFormatException
-
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
-
toString
-
toString
-
valueOf
- Throws:
NumberFormatException
-
valueOf
- Throws:
NumberFormatException
-