public interface DoubleTypeConverter
DoubleTypeConverter interface is a converter for the Java
double data type.| Modifier and Type | Method and Description |
|---|---|
Double |
getDouble(byte[] ioArea,
int start,
Collection<String> warningStrings)
Retrieves the designated double value from the input/output byte array.
|
Double |
getDouble(byte[] ioArea,
int start,
int length,
Collection<String> warningStrings)
Deprecated.
length param is not needed
|
void |
setDouble(byte[] ioArea,
int start,
Double object,
Collection<String> warningStrings)
Sets the designated double value into the input/output byte array.
|
void |
setDouble(byte[] ioArea,
int start,
int length,
Double object,
Collection<String> warningStrings)
Deprecated.
length param is not needed
|
Double getDouble(byte[] ioArea, int start, int length, Collection<String> warningStrings) throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be read fromstart - The starting offset in the input/output byte array to read
fromlength - The number of bytes that will be read from the input/output
byte arraywarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the bytes could not be converted to a doublevoid setDouble(byte[] ioArea,
int start,
int length,
Double object,
Collection<String> warningStrings)
throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be written tostart - The starting offset in the input/output byte array to write tolength - The number of bytes that will be written in the input/output
byte arrayobject - The value of the doublewarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the double value could not be converted to bytesDouble getDouble(byte[] ioArea, int start, Collection<String> warningStrings) throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be read fromstart - The starting offset in the input/output byte array to read
fromwarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the bytes could not be converted to a doublevoid setDouble(byte[] ioArea,
int start,
Double object,
Collection<String> warningStrings)
throws com.ibm.ims.dli.types.ConversionException
ioArea - The input/output byte array to be written tostart - The starting offset in the input/output byte array to write toobject - The value of the doublewarningStrings - The associated warnings for the conversioncom.ibm.ims.dli.types.ConversionException - if the double value could not be converted to bytes(c) Copyright IBM Corporation 2008, 2017.