jnr.ffi
Class Struct.AbstractBoolean
java.lang.Object
jnr.ffi.Struct.Member
jnr.ffi.Struct.AbstractMember
jnr.ffi.Struct.AbstractBoolean
- Direct Known Subclasses:
- Struct.Boolean, Struct.WBOOL
- Enclosing class:
- Struct
protected abstract class Struct.AbstractBoolean
- extends Struct.AbstractMember
Base class for Boolean fields
|
Method Summary |
abstract boolean |
get()
Gets the value for this field. |
abstract void |
set(boolean value)
Sets the field to a new value. |
java.lang.String |
toString()
Returns a string representation of this Address. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Struct.AbstractBoolean
protected Struct.AbstractBoolean(NativeType type)
Struct.AbstractBoolean
protected Struct.AbstractBoolean(NativeType type,
Struct.Offset offset)
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 java.lang.String toString()
- Returns a string representation of this
Address.
- Overrides:
toString in class java.lang.Object
- Returns:
- a string representation of this
Address.
Copyright © 2012. All Rights Reserved.