Package mpi

Class DoubleInt.Data

  • Enclosing class:
    DoubleInt

    public final class DoubleInt.Data
    extends Struct.Data
    Class for reading/writing data in a struct stored in a byte buffer.
    • Constructor Detail

      • Data

        public Data()
    • Method Detail

      • getValue

        public double getValue()
        Gets the double value.
        Returns:
        double value
      • getIndex

        public int getIndex()
        Gets the int value.
        Returns:
        int value
      • putValue

        public void putValue​(double v)
        Puts the double value.
        Parameters:
        v - double value
      • putIndex

        public void putIndex​(int v)
        Puts the int value.
        Parameters:
        v - int value