java.lang
Class Byte
java.lang.Object
|
+--java.lang.Number
|
+--java.lang.Byte
- public class Byte
- extends Number
|
Constructor Summary |
Byte(byte x)
|
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
Byte
public Byte(byte x)
byteValue
public byte byteValue()
- Specified by:
byteValue in class Number
shortValue
public short shortValue()
- Specified by:
shortValue in class Number
intValue
public int intValue()
- Specified by:
intValue in class Number
longValue
public long longValue()
- Specified by:
longValue in class Number
floatValue
public float floatValue()
- Specified by:
floatValue in class Number
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
parseByte
public static byte parseByte(String s)
throws NumberFormatException
NumberFormatException
parseByte
public static byte parseByte(String s,
int radix)
throws NumberFormatException
NumberFormatException
toString
public String toString()
- Overrides:
toString in class Object
toString
public static String toString(byte val)