| 
 | " 2013 FRC Java API" | |||||||||
| 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_VALUEThe maximum value a Byte can have. | 
| static byte | MIN_VALUEThe 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. | 
| static Byte | valueOf(byte val) | 
| 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 Byte| Method Detail | 
|---|
public static byte parseByte(String s)
                      throws NumberFormatException
s - the String containing the byte
NumberFormatException - 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 used
NumberFormatException - If the String does not
                contain a parsable byte.public byte byteValue()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object), 
Hashtablepublic boolean equals(Object obj)
equals in class Objectobj - the object to compare with
Boolean.hashCode(), 
Hashtablepublic static Byte valueOf(byte val)
| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||