|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Byte
public final class Byte
The Byte class is the standard wrapper for byte values.
| Field Summary | |
|---|---|
static byte |
MAX_VALUE
|
static byte |
MIN_VALUE
|
| 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 MAX_VALUE
public static final byte MIN_VALUE
| Constructor Detail |
|---|
public Byte(byte value)
| Method Detail |
|---|
public byte byteValue()
public boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.
public int hashCode()
hashCode in class Object
public static byte parseByte(String s)
throws NumberFormatException
NumberFormatException
public static byte parseByte(String s,
int radix)
throws NumberFormatException
NumberFormatExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||