|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--java.lang.Byte
The Byte class is the standard wrapper for byte values.
| Field Summary | ||
static byte |
MAX_VALUE
The maximum value a Byte can have. |
|
static byte |
MIN_VALUE
The minimum value a Byte can have. |
|
| Constructor Summary | ||
Byte(byte value)
Constructs a Byte object initialized to the specified byte value. |
||
| Method Summary | ||
byte |
byteValue()
Returns the value of this Byte as a byte. |
|
boolean |
equals(Object obj)
Compares this object to the specified object. |
|
int |
hashCode()
Returns a hashcode for this Byte. |
|
static byte |
parseByte(String s)
Assuming the specified String represents a byte, returns that byte's value. |
|
static byte |
parseByte(String s,
int radix)
Assuming the specified String represents a byte, returns that byte's value. |
|
String |
toString()
Returns a String object representing this Byte's value. |
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
| Constructor Detail |
public Byte(byte value)
value - the initial value of the Byte| Method Detail |
public int hashCode()
ObjectObject.equals(java.lang.Object),
Hashtablepublic static byte parseByte(String s) throws NumberFormatException
s - the String containing the byteNumberFormatException - If the string does not
contain a parsable byte.public static byte parseByte(String s, int radix) throws NumberFormatException
s - the String containing the byteradix - the radix to be usedNumberFormatException - If the String does not
contain a parsable byte.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.