Package jnr.ffi

Class StructLayout.AbstractBoolean

    • Method Detail

      • get

        public abstract boolean get​(Pointer ptr)
        Gets the value for this field.
        Parameters:
        ptr - The pointer to the field.
        Returns:
        a boolean.
      • set

        public abstract void set​(Pointer ptr,
                                 boolean value)
        Sets the field to a new value.
        Parameters:
        ptr - The pointer to the field.
        value - The new value.
      • toString

        public java.lang.String toString​(Pointer ptr)
        Returns a string representation of this Boolean.
        Parameters:
        ptr - The pointer to the field.
        Returns:
        a string representation of this Boolean.