Package jnr.ffi
Class Struct.BOOL16
- java.lang.Object
-
- jnr.ffi.Struct.Member
-
- jnr.ffi.Struct.AbstractMember
-
- jnr.ffi.Struct.AbstractBoolean
-
- jnr.ffi.Struct.BOOL16
-
- Enclosing class:
- Struct
public final class Struct.BOOL16 extends Struct.AbstractBoolean
-
-
Constructor Summary
Constructors Constructor Description BOOL16()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanget()Gets the value for this field.voidset(boolean value)Sets the field to a new value.-
Methods inherited from class jnr.ffi.Struct.AbstractBoolean
toString
-
Methods inherited from class jnr.ffi.Struct.AbstractMember
getMemory, offset, struct
-
-
-
-
Method Detail
-
get
public final boolean get()
Description copied from class:Struct.AbstractBooleanGets the value for this field.- Specified by:
getin classStruct.AbstractBoolean- Returns:
- a boolean.
-
set
public final void set(boolean value)
Description copied from class:Struct.AbstractBooleanSets the field to a new value.- Specified by:
setin classStruct.AbstractBoolean- Parameters:
value- The new value.
-
-