Package net.sf.jniinchi
Enum INCHI_STATUS
- java.lang.Object
-
- java.lang.Enum<INCHI_STATUS>
-
- net.sf.jniinchi.INCHI_STATUS
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<INCHI_STATUS>
public enum INCHI_STATUS extends java.lang.Enum<INCHI_STATUS>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAIL_I2I
INVALID_LAYOUT
INVALID_PREFIX
INVALID_VERSION
VALID_BETA
VALID_NON_STANDARD
VALID_STANDARD
-
Field Summary
Fields Modifier and Type Field Description private int
indx
Internal InChI index (from inchi_api.h).
-
Constructor Summary
Constructors Modifier Constructor Description private
INCHI_STATUS(int indx)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndx()
static INCHI_STATUS
getValue(int value)
static INCHI_STATUS
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static INCHI_STATUS[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALID_STANDARD
public static final INCHI_STATUS VALID_STANDARD
-
VALID_NON_STANDARD
public static final INCHI_STATUS VALID_NON_STANDARD
-
VALID_BETA
public static final INCHI_STATUS VALID_BETA
-
INVALID_PREFIX
public static final INCHI_STATUS INVALID_PREFIX
-
INVALID_VERSION
public static final INCHI_STATUS INVALID_VERSION
-
INVALID_LAYOUT
public static final INCHI_STATUS INVALID_LAYOUT
-
FAIL_I2I
public static final INCHI_STATUS FAIL_I2I
-
-
Method Detail
-
values
public static INCHI_STATUS[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (INCHI_STATUS c : INCHI_STATUS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static INCHI_STATUS valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getIndx
public int getIndx()
-
getValue
public static INCHI_STATUS getValue(int value)
-
-