Class BoolByReference

  • All Implemented Interfaces:
    com.sun.jna.NativeMapped

    public class BoolByReference
    extends com.sun.jna.ptr.ByReference
    Helper class that handles a bool by reference
    • Constructor Summary

      Constructors 
      Constructor Description
      BoolByReference()
      Construct a BoolByReference with the default value false.
      BoolByReference​(boolean value)
      Construct a BoolByReference.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getValue()
      Getter.
      void setValue​(boolean value)
      Setter.
      • Methods inherited from class com.sun.jna.ptr.ByReference

        toString
      • Methods inherited from class com.sun.jna.PointerType

        equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BoolByReference

        public BoolByReference()
        Construct a BoolByReference with the default value false.
      • BoolByReference

        public BoolByReference​(boolean value)
        Construct a BoolByReference.
        Parameters:
        value - The value.
    • Method Detail

      • setValue

        public void setValue​(boolean value)
        Setter.
        Parameters:
        value - The underlying value.
      • getValue

        public boolean getValue()
        Getter.
        Returns:
        The underlying value.