Package mpi

Class Int2.Data

  • Enclosing class:
    Int2

    public final class Int2.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 int getValue()
        Gets the first int.
        Returns:
        first int
      • getIndex

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

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

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