com.ibm.jzos.fields
Interface DoubleAccessor
-
- All Superinterfaces:
- Field
- All Known Implementing Classes:
- ExternalFloatField, IbmDoubleField
public interface DoubleAccessor extends Field
An interface which describes aFieldwhich has double accessors.- Since:
- 2.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublegetDouble(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 Detail
-
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
-
-