程序包 mpi
类 Info
java.lang.Object
mpi.Info
This class represents
MPI_Info
.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()
Java binding of the MPI operationMPI_INFO_DUP
.void
Java binding of the MPI operationMPI_INFO_DELETE
.dup()
Java binding of the MPI operationMPI_INFO_DUP
.void
free()
Java binding of the MPI operationMPI_INFO_FREE
.Java binding of the MPI operationMPI_INFO_GET
.getKey
(int i) Java binding of the MPI operationMPI_INFO_GET_NTHKEY
.boolean
isNull()
Tests if the info object isMPI_INFO_NULL
(has been freed).protected static Info
newEnv()
void
Java binding of the MPI operationMPI_INFO_SET
.int
size()
Java binding of the MPI operationMPI_INFO_GET_NKEYS
.
-
字段详细资料
-
handle
protected long handle -
NULL
protected static final long NULL
-
-
构造器详细资料
-
Info
Java binding of the MPI operationMPI_INFO_CREATE
.- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
Info
protected Info(long handle)
-
-
方法详细资料
-
newEnv
-
set
Java binding of the MPI operationMPI_INFO_SET
.- 参数:
key
- keyvalue
- value- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
get
Java binding of the MPI operationMPI_INFO_GET
.- 参数:
key
- key- 返回:
- value or
null
if key is not defined - 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
delete
Java binding of the MPI operationMPI_INFO_DELETE
.- 参数:
key
- key- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
size
Java binding of the MPI operationMPI_INFO_GET_NKEYS
.- 返回:
- number of defined keys
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
getKey
Java binding of the MPI operationMPI_INFO_GET_NTHKEY
.- 参数:
i
- key number- 返回:
- key
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
clone
Java binding of the MPI operationMPI_INFO_DUP
.It is recommended to use
dup()
instead ofclone()
because the last can't throw anMPIException
. -
dup
Java binding of the MPI operationMPI_INFO_DUP
.- 返回:
- info object
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
free
Java binding of the MPI operationMPI_INFO_FREE
.- 指定者:
free
在接口中Freeable
- 抛出:
MPIException
- Signals that an MPI exception of some sort has occurred.
-
isNull
public boolean isNull()Tests if the info object isMPI_INFO_NULL
(has been freed).- 返回:
- true if the info object is
MPI_INFO_NULL
, false otherwise.
-