ValueByte

Implementation of the BYTE data type.

Methods
static ValueByte get(byte i)
Get or create byte value for the given byte.
static ValueByte get(byte i)
Get or create byte value for the given byte.
Parameters:
i - the byte
Returns:
the value
Value add(Value v)
Value add(Value v)
int compareSecure(Value o, CompareMode mode)
int compareSecure(Value o, CompareMode mode)
Value divide(Value v)
Value divide(Value v)
boolean equals(Object other)
boolean equals(Object other)
byte getByte()
byte getByte()
int getDisplaySize()
int getDisplaySize()
int getInt()
int getInt()
Object getObject()
Object getObject()
long getPrecision()
long getPrecision()
String getSQL()
String getSQL()
int getSignum()
int getSignum()
String getString()
String getString()
int getType()
int getType()
int hashCode()
int hashCode()
Value modulus(Value v)
Value modulus(Value v)
Value multiply(Value v)
Value multiply(Value v)
Value negate()
Value negate()
void set(PreparedStatement prep, int parameterIndex)
void set(PreparedStatement prep, int parameterIndex) throws SQLException
Value subtract(Value v)
Value subtract(Value v)

Fields
static int DISPLAY_SIZE = 4
static int PRECISION = 3

PRECISION = 3

The precision in digits.

DISPLAY_SIZE = 4

The display size for a byte. Example: -127