public final class Int2
extends Struct
-
Nested Class Summary
Nested Classes
final class
Class for reading/writing data in a struct stored in a byte buffer.
-
Constructor Summary
Constructors
protected
Int2(int intOff,
int intSize)
The struct object will be created only in MPI class.
-
Method Summary
Methods inherited from class mpi.Struct
addByte, addByte, addChar, addChar, addData, addData, addDouble, addDouble, addFloat, addFloat, addInt, addInt, addLong, addLong, addShort, addShort, addStruct, addStruct, getData, getData, getData, getData, getExtent, getType, setOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Int2
protected Int2(int intOff,
int intSize)
The struct object will be created only in MPI class.
- Parameters:
intOff
- int offset
intSize
- int size
- See Also:
-
-
Method Details
-
newData
Creates a Data object.
- Specified by:
newData
in class Struct
- Returns:
- new Data object.