Class NativeVoid

All Implemented Interfaces:
INativeObject
Direct Known Subclasses:
NativeFunction

public class NativeVoid extends NativeSimple
An object representing "void" ("nothing" or rather nothing we can specify more explicitly). Mostly (only?) useful with references.
  • Field Details

  • Constructor Details

  • Method Details

    • createFromAddress

      public static NativeVoid createFromAddress(long address)
    • getNativeType

      public INativeType getNativeType()
      Description copied from class: NativeObject
      The meta information and behavior for the NativeObject.

      There is exactly one meta instance for all NativeObject instances of a certain type.

      Specified by:
      getNativeType in interface INativeObject
      Specified by:
      getNativeType in class NativeObject
      Returns:
      The meta information and behavior for the NativeObject.
    • getValue

      public Object getValue()
      Description copied from interface: INativeObject
      A Java side representation from the memory.
      Returns:
      A Java side representation for the INativeObject.
    • setValue

      public void setValue(Object value)
      Description copied from interface: INativeObject
      Assign (and marshall to memory) the Java side representation.
      Parameters:
      value - The new Java value.