|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<INCHI_KEY> net.sf.jniinchi.INCHI_KEY
public enum INCHI_KEY
Type-safe enumeration of InChI return codes.
InChI library return values:
OK (0)
UNKNOWN_ERROR (1)
EMPTY_INPUT (2)
NOT_INCHI_INPUT (3)
NOT_ENOUGH_MEMORY (4)
ERROR_IN_FLAG_CHAR (5)
See inchi_api.h.
Enum Constant Summary | |
---|---|
EMPTY_INPUT
|
|
INVALID_INCHI
|
|
INVALID_INCHI_PREFIX
|
|
INVALID_STD_INCHI
|
|
NOT_ENOUGH_MEMORY
|
|
OK
|
|
UNKNOWN_ERROR
|
Method Summary | |
---|---|
int |
getIndx()
|
static INCHI_KEY |
getValue(int ret)
|
static INCHI_KEY |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static INCHI_KEY[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final INCHI_KEY OK
public static final INCHI_KEY UNKNOWN_ERROR
public static final INCHI_KEY EMPTY_INPUT
public static final INCHI_KEY INVALID_INCHI_PREFIX
public static final INCHI_KEY NOT_ENOUGH_MEMORY
public static final INCHI_KEY INVALID_INCHI
public static final INCHI_KEY INVALID_STD_INCHI
Method Detail |
---|
public static INCHI_KEY[] values()
for (INCHI_KEY c : INCHI_KEY.values()) System.out.println(c);
public static INCHI_KEY valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getIndx()
public static INCHI_KEY getValue(int ret)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |