| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Number
org.jooq.tools.unsigned.UNumber
org.jooq.tools.unsigned.UByte
public final class UByte
The unsigned byte type
| Field Summary | |
|---|---|
static short | 
MAX_VALUE
A constant holding the maximum value an unsigned byte can
 have, 28-1. | 
static short | 
MIN_VALUE
A constant holding the minimum value an unsigned byte can
 have, 0. | 
| Constructor Summary | |
|---|---|
UByte(byte value)
Create an unsigned byte by masking it with 0xFF
 i.e. | 
|
UByte(short value)
Create an unsigned byte | 
|
UByte(String value)
Create an unsigned byte | 
|
| Method Summary | |
|---|---|
 int | 
compareTo(UByte o)
 | 
 double | 
doubleValue()
 | 
 boolean | 
equals(Object obj)
 | 
 float | 
floatValue()
 | 
 int | 
hashCode()
 | 
 int | 
intValue()
 | 
 long | 
longValue()
 | 
 String | 
toString()
 | 
static UByte | 
valueOf(byte value)
Create an unsigned byte by masking it with 0xFF
 i.e. | 
static UByte | 
valueOf(String value)
Create an unsigned byte | 
| Methods inherited from class org.jooq.tools.unsigned.UNumber | 
|---|
toBigInteger | 
| Methods inherited from class java.lang.Number | 
|---|
byteValue, shortValue | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final short MIN_VALUE
unsigned byte can
 have, 0.
public static final short MAX_VALUE
unsigned byte can
 have, 28-1.
| Constructor Detail | 
|---|
public UByte(short value)
      throws NumberFormatException
unsigned byte
NumberFormatException - If value is not in the range
             of an unsigned byteUByte(short)public UByte(byte value)
unsigned byte by masking it with 0xFF
 i.e. (byte) -1 becomes (ubyte) 255
public UByte(String value)
      throws NumberFormatException
unsigned byte
NumberFormatException - If value does not contain a
             parsable unsigned byte.| Method Detail | 
|---|
public static UByte valueOf(String value)
                     throws NumberFormatException
unsigned byte
NumberFormatException - If value does not contain a
             parsable unsigned byte.UByte(String)public static UByte valueOf(byte value)
unsigned byte by masking it with 0xFF
 i.e. (byte) -1 becomes (ubyte) 255
UByte(byte)public int intValue()
intValue in class Numberpublic long longValue()
longValue in class Numberpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic int compareTo(UByte o)
compareTo in interface Comparable<UByte>
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||