org.axiondb.types

Class DoubleType

public class DoubleType extends BaseNumberDataType

A DataTyperepresenting a double value.

Version: $Revision: 1.1 $ $Date: 2005/05/02 22:29:40 $

Author: Jonathan Giron

Constructor Summary
DoubleType()
Method Summary
intcompare(Object a, Object b)
Objectconvert(Object value)
Returns a Double converted from the given value , or throws IllegalArgumentExceptionif the given value isn't acceptable.
intgetColumnDisplaySize()
protected ComparatorgetComparator()
intgetJdbcType()
intgetPrecision()
intgetPrecisionRadix()
StringgetPreferredValueClassName()
intgetScale()
DataTypemakeNewInstance()
Objectread(DataInput in)
Objectsuccessor(Object value)
booleansupportsSuccessor()
true
StringtoString()
Returns "double"
voidwrite(Object value, DataOutput out)

Constructor Detail

DoubleType

public DoubleType()

Method Detail

compare

public int compare(Object a, Object b)

convert

public Object convert(Object value)
Returns a Double converted from the given value , or throws IllegalArgumentExceptionif the given value isn't acceptable.

getColumnDisplaySize

public int getColumnDisplaySize()

getComparator

protected Comparator getComparator()

getJdbcType

public int getJdbcType()

getPrecision

public int getPrecision()

getPrecisionRadix

public int getPrecisionRadix()

getPreferredValueClassName

public String getPreferredValueClassName()

getScale

public int getScale()

makeNewInstance

public DataType makeNewInstance()

read

public Object read(DataInput in)

See Also: DoubleType

successor

public Object successor(Object value)

supportsSuccessor

public boolean supportsSuccessor()
true

toString

public String toString()
Returns "double"

Returns: "double"

write

public void write(Object value, DataOutput out)