com.kenai.jaffl.struct
Class Struct.Boolean

java.lang.Object
  extended by com.kenai.jaffl.struct.Struct.AbstractMember
      extended by com.kenai.jaffl.struct.Struct.AbstractBoolean
          extended by com.kenai.jaffl.struct.Struct.Boolean
All Implemented Interfaces:
Struct.Member
Enclosing class:
Struct

public final class Struct.Boolean
extends Struct.AbstractBoolean

A normal C boolean - 1 byte in size


Constructor Summary
Struct.Boolean()
           
 
Method Summary
 boolean get()
          Gets the value for this field.
 void set(boolean value)
          Sets the field to a new value.
 
Methods inherited from class com.kenai.jaffl.struct.Struct.AbstractBoolean
toString
 
Methods inherited from class com.kenai.jaffl.struct.Struct.AbstractMember
getMemoryIO, offset, struct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Struct.Boolean

public Struct.Boolean()
Method Detail

get

public final boolean get()
Description copied from class: Struct.AbstractBoolean
Gets the value for this field.

Specified by:
get in class Struct.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 class Struct.AbstractBoolean
Parameters:
value - The new value.