1
1
This commit was SVN r29713.
Этот коммит содержится в:
Oscar Vega-Gisbert 2013-11-14 22:18:45 +00:00
родитель 92e6aaa808
Коммит da84609091
5 изменённых файлов: 25 добавлений и 10 удалений

Просмотреть файл

@ -1,13 +1,16 @@
package mpi;
/**
* Java binding of the MPI data type {@code MPI_DOUBLE_INT}.
* Struct class for {@link MPI#DOUBLE_INT} datatype.
*/
public final class DoubleInt extends Struct
{
private final int iOff, iSize;
/** The struct will be created only in MPI class. */
/**
* The struct object will be created only in MPI class.
* @see MPI#doubleInt
*/
protected DoubleInt(int intOff, int intSize)
{
int dOff = addDouble();

Просмотреть файл

@ -1,13 +1,16 @@
package mpi;
/**
* Java binding of the MPI data type {@code MPI_FLOAT_INT}.
* Struct class for {@link MPI#FLOAT_INT} datatype.
*/
public final class FloatInt extends Struct
{
private final int iOff, iSize;
/** The struct will be created only in MPI class. */
/**
* The struct object will be created only in MPI class.
* @see MPI#floatInt
*/
protected FloatInt(int intOff, int intSize)
{
int fOff = addFloat();

Просмотреть файл

@ -1,13 +1,16 @@
package mpi;
/**
* Java binding of the MPI data type {@code MPI_2INT}.
* Struct class for {@link MPI#INT2} datatype.
*/
public final class Int2 extends Struct
{
private final int iOff, iSize;
/** The struct will be created only in MPI class. */
/**
* The struct object will be created only in MPI class.
* @see MPI#int2
*/
protected Int2(int intOff, int intSize)
{
iSize = intSize;

Просмотреть файл

@ -1,13 +1,16 @@
package mpi;
/**
* Java binding of the MPI data type {@code MPI_LONG_INT}.
* Struct class for {@link MPI#LONG_INT} datatype.
*/
public final class LongInt extends Struct
{
private final int lSize, iOff, iSize;
/** The struct will be created only in MPI class. */
/**
* The struct object will be created only in MPI class.
* @see MPI#longInt
*/
protected LongInt(int longSize, int intOff, int intSize)
{
lSize = longSize;

Просмотреть файл

@ -1,13 +1,16 @@
package mpi;
/**
* Java binding of the MPI data type {@code MPI_SHORT_INT}.
* Struct class for {@link MPI#SHORT_INT} datatype.
*/
public final class ShortInt extends Struct
{
private final int sSize, iOff, iSize;
/** The struct will be created only in MPI class. */
/**
* The struct object will be created only in MPI class.
* @see MPI#shortInt
*/
protected ShortInt(int shortSize, int intOff, int intSize)
{
sSize = shortSize;