Class ParamArray

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class ParamArray extends ParamSpec
A fundamental type that describes a GParamSpec for arrays of values
Since:
1.12
  • Constructor Details

    • ParamArray

      public ParamArray(MemorySegment address)
      Create a ParamArray instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the ParamArray class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected ParamArray asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class ParamSpec
      Returns:
      the instance as if it were its parent type