|
CLDC 1.0 |
|||||||
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 |
public static final byte MIN_VALUE
public static final byte MAX_VALUE
Constructor Detail |
public Byte(byte value)
value
- the initial value of the ByteMethod Detail |
public static byte parseByte(String s) throws NumberFormatException
s
- the String containing the bytepublic static byte parseByte(String s, int radix) throws NumberFormatException
s
- the String containing the byteradix
- the radix to be usedpublic byte byteValue()
public String toString()
public int hashCode()
Object.equals(java.lang.Object)
,
Hashtable
public boolean equals(Object obj)
obj
- the object to compare with
|
Submit a bug or feature Copyright (c) 2000 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Portions may be derived from Berkeley BSD systems, licensed from U. of CA. Sun, Sun Microsystems, the Sun logo, Java, Java 2 MicroEdition, Connected Limited Device Configuration are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. andother countries. Federal Acquisitions:Commercial Software -Government Users Subject to Standard License Terms and Conditions. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |