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 bytebyteValue()intcompareTo(Byte var0)intcompareTo(Object var0)static Bytedecode(String var0)doubledoubleValue()booleanequals(Object var0)floatfloatValue()inthashCode()intintValue()longlongValue()static byteparseByte(String var0)static byteparseByte(String var0, int var1)shortshortValue()StringtoString()static StringtoString(byte var0)static BytevalueOf(String var0)static BytevalueOf(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:
compareToin interfaceComparable
-
decode
public static Byte decode(String var0) throws NumberFormatException
- Throws:
NumberFormatException
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValuein 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:
shortValuein 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
-
-