程序包 mpi

类 ShortInt.Data

封闭类:
ShortInt

public final class ShortInt.Data extends Struct.Data
Class for reading/writing data in a struct stored in a byte buffer.
  • 构造器详细资料

    • Data

      public Data()
  • 方法详细资料

    • getValue

      public short getValue()
      Gets the short value.
      返回:
      short value
    • getIndex

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

      public void putValue(short v)
      Puts the short value.
      参数:
      v - short value
    • putIndex

      public void putIndex(int v)
      Puts the int value.
      参数:
      v - int value