DCT Lightfoot v3 API specification

java.lang
Class Byte

java.lang.Object
  |
  +--java.lang.Byte

public class Byte
extends Object


Field Summary
static byte MAX_VALUE
          The largest allowed value
static byte MIN_VALUE
          The smallest allowed value
 
Constructor Summary
Byte(byte value)
          Create a new Byte
 
Method Summary
 byte byteValue()
          Get the byte value
 boolean equals(Object obj)
          Test the equality with another object
 int hashCode()
          Return the hash code
static byte parseByte(java.lang.String s)
          Parse a byte
static byte parseByte(java.lang.String s, int radix)
          Parse a byte
 java.lang.String toString()
          Convert to a string
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN_VALUE

public static final byte MIN_VALUE
The smallest allowed value

See Also:
Constant Field Values

MAX_VALUE

public static final byte MAX_VALUE
The largest allowed value

See Also:
Constant Field Values
Constructor Detail

Byte

public Byte(byte value)
Create a new Byte

Parameters:
value - The value
Method Detail

parseByte

public static byte parseByte(java.lang.String s)
                      throws NumberFormatException
Parse a byte

Returns:
the byte
Throws:
NumberFormatException - if the number is wrong

parseByte

public static byte parseByte(java.lang.String s,
                             int radix)
                      throws NumberFormatException
Parse a byte

Parameters:
radix - The radix
Returns:
the byte
Throws:
NumberFormatException - if the number is wrong

byteValue

public byte byteValue()
Get the byte value

Returns:
the value

toString

public java.lang.String toString()
Convert to a string

Overrides:
toString in class Object
Returns:
The string

hashCode

public int hashCode()
Return the hash code

Overrides:
hashCode in class Object
Returns:
the hash code

equals

public boolean equals(Object obj)
Test the equality with another object

Overrides:
equals in class Object
Parameters:
obj - The other
Returns:
true if it is equal

DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification