Package jnr.ffi

Class Struct.AbstractBoolean

Direct Known Subclasses:
Struct.BOOL16, Struct.Boolean, Struct.WBOOL
Enclosing class:
Struct

protected abstract class Struct.AbstractBoolean extends Struct.AbstractMember
Base class for Boolean fields
  • Constructor Details

  • Method Details

    • get

      public abstract boolean get()
      Gets the value for this field.
      Returns:
      a boolean.
    • set

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

      public String toString()
      Returns a string representation of this Address.
      Overrides:
      toString in class Object
      Returns:
      a string representation of this Address.