public enum JNIObjectRefType extends Enum<JNIObjectRefType>
Enum Constant and Description |
---|
Global |
Invalid |
Local |
WeakGlobal |
Modifier and Type | Method and Description |
---|---|
int |
getCValue() |
static JNIObjectRefType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JNIObjectRefType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JNIObjectRefType Invalid
public static final JNIObjectRefType Local
public static final JNIObjectRefType Global
public static final JNIObjectRefType WeakGlobal
public static JNIObjectRefType[] values()
public static JNIObjectRefType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCValue()