Package mpi

Class FloatInt.Data

  • Enclosing class:
    FloatInt

    public final class FloatInt.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 float getValue()
        Gets the float value.
        Returns:
        float value
      • getIndex

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

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

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