Module ibm.jzos

Interface DoubleAccessor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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.
    • 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 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