|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Number
java.lang.Byte
public final class Byte
Wrapper class for bytes.
| Field Summary | |
|---|---|
static byte |
MAX_VALUE
|
static byte |
MIN_VALUE
|
static int |
SIZE
|
| Constructor Summary | |
|---|---|
Byte(byte value)
|
|
Byte(String s)
|
|
| Method Summary | |
|---|---|
byte |
byteValue()
Return the byte value of this Number. |
int |
compareTo(Object o)
|
double |
doubleValue()
Return the double value of this Number. |
boolean |
equals(Object o)
|
float |
floatValue()
Return the float value of this Number. |
int |
hashCode()
|
int |
intValue()
Return the int value of this Number. |
long |
longValue()
Return the long value of this Number. |
static byte |
parseByte(String s)
|
static byte |
parseByte(String s,
int radix)
|
short |
shortValue()
Return the short value of this Number. |
String |
toString()
|
static String |
toString(byte b)
|
static Byte |
valueOf(byte b)
|
static Byte |
valueOf(String s)
|
static Byte |
valueOf(String s,
int radix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte MAX_VALUE
public static final byte MIN_VALUE
public static final int SIZE
| Constructor Detail |
|---|
public Byte(byte value)
public Byte(String s)
| Method Detail |
|---|
public byte byteValue()
Number
byteValue in class Numberpublic int compareTo(Object o)
public double doubleValue()
Number
doubleValue in class Numberpublic boolean equals(Object o)
equals in class Objectpublic float floatValue()
Number
floatValue in class Numberpublic int hashCode()
hashCode in class Objectpublic int intValue()
Number
intValue in class Numberpublic long longValue()
Number
longValue in class Number
public static byte parseByte(String s)
throws NumberFormatException
NumberFormatException
public static byte parseByte(String s,
int radix)
throws NumberFormatException
NumberFormatExceptionpublic short shortValue()
Number
shortValue in class Numberpublic String toString()
toString in class Objectpublic static String toString(byte b)
public static Byte valueOf(byte b)
public static Byte valueOf(String s)
public static Byte valueOf(String s,
int radix)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||