org.axiondb.types
public class ShortType extends BaseNumberDataType
Version: $Revision: 1.10 $ $Date: 2005/05/02 22:29:40 $
Constructor Summary | |
---|---|
ShortType() |
Method Summary | |
---|---|
int | compare(Object a, Object b) |
Object | convert(Object value)
Returns an Short converted from the given value , or throws
IllegalArgumentExceptionif the given value isn't
acceptable . |
int | getColumnDisplaySize() |
protected Comparator | getComparator() |
int | getJdbcType() |
int | getPrecision() |
String | getPreferredValueClassName() |
DataType | makeNewInstance() |
Object | read(DataInput in) |
Object | successor(Object value) |
String | toString() |
void | write(Object value, DataOutput out)
Writes the given value to the given DataOutput .
|
acceptable
.See Also: ShortType
DataOutput
.
Null
values are written as Short.MIN_VALUE
,
false
.Short.MIN_VALUE
values are written as
Short.MIN_VALUE
,true
. All other values are written
directly.
Parameters: value the value to write, which must be acceptable