Package mpi

Class ShortInt.Data

  • Enclosing class:
    ShortInt

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

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

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

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