Interface JNI.JValue
- All Superinterfaces:
org.graalvm.word.ComparableWord,org.graalvm.word.PointerBase,org.graalvm.word.WordBase
- Enclosing class:
JNI
public static interface JNI.JValue
extends org.graalvm.word.PointerBase
Access to the
jvalue JNI union.
typedef union jvalue {
jboolean z;
jbyte b;
jchar c;
jshort s;
jint i;
jlong j;
jfloat f;
jdouble d;
jobject l;
} jvalue;
-
Method Summary
Modifier and TypeMethodDescriptionaddressOf(int index) Gets JValue in an array of JValues pointed to by this object.booleanbytegetByte()chargetChar()doublefloatgetFloat()intgetInt()longgetLong()shortgetShort()voidsetBoolean(boolean b) voidsetByte(byte b) voidsetChar(char ch) voidsetDouble(double d) voidsetFloat(float f) voidsetInt(int i) voidsetJObject(JNI.JObject obj) voidsetLong(long l) voidsetShort(short s) Methods inherited from interface org.graalvm.word.ComparableWord
equal, notEqualMethods inherited from interface org.graalvm.word.PointerBase
isNonNull, isNullMethods inherited from interface org.graalvm.word.WordBase
equals, rawValue
-
Method Details
-
getBoolean
boolean getBoolean() -
getByte
byte getByte() -
getChar
char getChar() -
getShort
short getShort() -
getInt
int getInt() -
getLong
long getLong() -
getFloat
float getFloat() -
getDouble
double getDouble() -
getJObject
JNI.JObject getJObject() -
setBoolean
void setBoolean(boolean b) -
setByte
void setByte(byte b) -
setChar
void setChar(char ch) -
setShort
void setShort(short s) -
setInt
void setInt(int i) -
setLong
void setLong(long l) -
setFloat
void setFloat(float f) -
setDouble
void setDouble(double d) -
setJObject
-
addressOf
Gets JValue in an array of JValues pointed to by this object.
-