Module ibm.jzos

Interface DoubleAccessor

All Superinterfaces:
Field
All Known Implementing Classes:
ExternalFloatField, IbmDoubleField

public interface DoubleAccessor extends Field
An interface which describes a Field which has double accessors.

Since:
2.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    getDouble(byte[] buffer)
    Answer a double from the given byte array buffer, at the offset of this field.
    double
    getDouble(byte[] buffer, int bufOffset)
    Answer a double from the given byte array buffer, at the bufOffset + offset of this field.
    void
    putDouble(double value, byte[] buffer)
    Put a double into the given byte array buffer, at the offset of this field.
    void
    putDouble(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 array
      bufOffset - 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 value
      buffer - 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 value
      buffer - the byte array
      bufOffset - the additional offset into the byte array