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 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

      void setJObject(JNI.JObject obj)
    • addressOf

      JNI.JValue addressOf(int index)
      Gets JValue in an array of JValues pointed to by this object.