Package jnr.ffi
Class Struct.AbstractBoolean
java.lang.Object
jnr.ffi.Struct.Member
jnr.ffi.Struct.AbstractMember
jnr.ffi.Struct.AbstractBoolean
- Direct Known Subclasses:
Struct.BOOL16
,Struct.Boolean
,Struct.WBOOL
- Enclosing class:
Struct
Base class for Boolean fields
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractBoolean
(NativeType type) protected
AbstractBoolean
(NativeType type, Struct.Offset offset) -
Method Summary
Methods inherited from class jnr.ffi.Struct.AbstractMember
getMemory, offset, struct
-
Constructor Details
-
AbstractBoolean
-
AbstractBoolean
-
-
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
Returns a string representation of thisAddress
.
-