|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp2pmpi.mpi.Datatype
public class Datatype
Primitive datatypes
Field Summary | |
---|---|
static int |
BOOLEAN
Primitive datatype (Boolean) |
static int |
BYTE
Primitive datatype (Byte) |
static int |
CHAR
Primitive datatype (Char) |
static int |
DOUBLE
Primitive datatype (Double) |
static int |
FLOAT
Primitive datatype (Float) |
static int |
INT
Primitive datatype (Integer) |
static int |
LONG
Primitive datatype (Long) |
static int |
NULL
Primitive datatype (NULL) |
static int |
OBJECT
|
static int |
PACKED
Primitive datatype (not available yet) |
static int |
SHORT
Primitive datatype (Short) |
static int |
STRING
Primitive datatype (String) |
static int[] |
typeSize
Size (in byte) of each datatype |
Constructor Summary | |
---|---|
Datatype(int type)
Default constructor |
|
Datatype(int type,
int[] dispSeq)
Internal use |
Method Summary | |
---|---|
Datatype |
Contiguous(int count)
Create a contiguous datatype |
int |
Extent()
Returns the extent of a datatype |
int |
getBaseSize()
Returns the base size of datatype |
int |
getBaseType()
Returns the base type of datatype |
int[] |
getDisplacementSequence()
Returns the sequence of displacement of data |
int |
Lb()
The lower bound of a datatype |
int |
Size()
Returns the size of a datatype |
int |
Ub()
The upper bound of a datatype |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NULL
public static final int BYTE
public static final int CHAR
public static final int SHORT
public static final int BOOLEAN
public static final int INT
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public static final int PACKED
public static final int STRING
public static final int OBJECT
public static final int[] typeSize
Constructor Detail |
---|
public Datatype(int type)
public Datatype(int type, int[] dispSeq)
Method Detail |
---|
public int Lb()
public int Ub()
public int Extent()
public int Size()
public Datatype Contiguous(int count)
count
- number of elements
public int[] getDisplacementSequence()
public int getBaseType()
public int getBaseSize()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |