Package jnr.ffi
Class Struct.Boolean
java.lang.Object
jnr.ffi.Struct.Member
jnr.ffi.Struct.AbstractMember
jnr.ffi.Struct.AbstractBoolean
jnr.ffi.Struct.Boolean
- Enclosing class:
- Struct
A normal C boolean - 1 byte in size
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jnr.ffi.Struct.AbstractBoolean
toString
Methods inherited from class jnr.ffi.Struct.AbstractMember
getMemory, offset, struct
-
Constructor Details
-
Boolean
public Boolean()
-
-
Method Details
-
get
public final boolean get()Description copied from class:Struct.AbstractBoolean
Gets the value for this field.- Specified by:
get
in classStruct.AbstractBoolean
- Returns:
- a boolean.
-
set
public final void set(boolean value) Description copied from class:Struct.AbstractBoolean
Sets the field to a new value.- Specified by:
set
in classStruct.AbstractBoolean
- Parameters:
value
- The new value.
-