- All Superinterfaces:
Field
- All Known Implementing Classes:
ExternalFloatField,IbmDoubleField
An interface which describes a
Field which has double accessors.
- Since:
- 2.1.0
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetDouble(byte[] buffer) Answer a double from the given byte array buffer, at the offset of this field.doublegetDouble(byte[] buffer, int bufOffset) Answer a double from the given byte array buffer, at the bufOffset + offset of this field.voidputDouble(double value, byte[] buffer) Put a double into the given byte array buffer, at the offset of this field.voidputDouble(double value, byte[] buffer, int bufOffset) Put a double into the given byte array buffer, at the bufOffset + offset of this field.Methods inherited from interface com.ibm.jzos.fields.Field
getByteLength, getOffset, setOffset
-
Method Details
-
getDouble
double getDouble(byte[] buffer) Answer a double from the given byte array buffer, at the offset of this field.- Parameters:
buffer- the byte array- Returns:
- double
-
getDouble
double getDouble(byte[] buffer, int bufOffset) Answer a double from the given byte array buffer, at the bufOffset + offset of this field.- Parameters:
buffer- the byte arraybufOffset- the additional offset into the byte array- Returns:
- double
-
putDouble
void putDouble(double value, byte[] buffer) Put a double into the given byte array buffer, at the offset of this field.- Parameters:
value- the double valuebuffer- the byte array
-
putDouble
void putDouble(double value, byte[] buffer, int bufOffset) Put a double into the given byte array buffer, at the bufOffset + offset of this field.- Parameters:
value- the double valuebuffer- the byte arraybufOffset- the additional offset into the byte array
-