| Modifier and Type | Field and Description |
|---|---|
protected long |
handle |
protected static long |
NULL |
| Modifier | Constructor and Description |
|---|---|
|
Info()
Java binding of the MPI operation
MPI_INFO_CREATE. |
protected |
Info(long handle) |
| Modifier and Type | Method and Description |
|---|---|
Info |
clone()
Java binding of the MPI operation
MPI_INFO_DUP. |
void |
delete(java.lang.String key)
Java binding of the MPI operation
MPI_INFO_SET. |
Info |
dup()
Java binding of the MPI operation
MPI_INFO_DUP. |
void |
free()
Java binding of the MPI operation
MPI_INFO_FREE. |
java.lang.String |
get(java.lang.String key)
Java binding of the MPI operation
MPI_INFO_SET. |
java.lang.String |
getKey(int i)
Java binding of the MPI operation
MPI_INFO_GET_NTHKEY. |
boolean |
isNull()
Tests if the info object is
MPI_INFO_NULL (has been freed). |
protected static Info |
newEnv() |
void |
set(java.lang.String key,
java.lang.String value)
Java binding of the MPI operation
MPI_INFO_SET. |
int |
size()
Java binding of the MPI operation
MPI_INFO_GET_NKEYS. |
public Info()
throws MPIException
MPI_INFO_CREATE.MPIException - Signals that an MPI exception of some sort has occurred.protected Info(long handle)
protected static Info newEnv()
public void set(java.lang.String key,
java.lang.String value)
throws MPIException
MPI_INFO_SET.key - keyvalue - valueMPIException - Signals that an MPI exception of some sort has occurred.public java.lang.String get(java.lang.String key)
throws MPIException
MPI_INFO_SET.key - keynull if key is not definedMPIException - Signals that an MPI exception of some sort has occurred.public void delete(java.lang.String key)
throws MPIException
MPI_INFO_SET.key - keyMPIException - Signals that an MPI exception of some sort has occurred.public int size()
throws MPIException
MPI_INFO_GET_NKEYS.MPIException - Signals that an MPI exception of some sort has occurred.public java.lang.String getKey(int i)
throws MPIException
MPI_INFO_GET_NTHKEY.i - key numberMPIException - Signals that an MPI exception of some sort has occurred.public Info clone()
MPI_INFO_DUP.
It is recommended to use dup() instead of clone()
because the last can't throw an MPIException.
clone in class java.lang.Objectpublic Info dup() throws MPIException
MPI_INFO_DUP.MPIException - Signals that an MPI exception of some sort has occurred.public void free()
throws MPIException
MPI_INFO_FREE.free in interface FreeableMPIException - Signals that an MPI exception of some sort has occurred.public boolean isNull()
MPI_INFO_NULL (has been freed).MPI_INFO_NULL, false otherwise.