Package mpi
Class ShortInt.Data
java.lang.Object
mpi.Struct.Data
mpi.ShortInt.Data
- Enclosing class:
- ShortInt
Class for reading/writing data in a struct stored in a byte buffer.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mpi.Struct.Data
getBuffer, getBuffer, getBuffer, getByte, getByte, getChar, getChar, getData, getData, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getShort, getShort, putByte, putByte, putChar, putChar, putDouble, putDouble, putFloat, putFloat, putInt, putInt, putLong, putLong, putShort, putShort
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
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
-