com.kenai.jaffl.struct
Class Struct.AbstractBoolean

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

public abstract class Struct.AbstractBoolean
extends Struct.AbstractMember

Base class for Boolean fields


Constructor Summary
  Struct.AbstractBoolean(Type type)
           
protected Struct.AbstractBoolean(Type type, Struct.Offset offset)
           
 
Method Summary
abstract  boolean get()
          Gets the value for this field.
abstract  void set(boolean value)
          Sets the field to a new value.
 String toString()
          Returns a string representation of this Address.
 
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.AbstractBoolean

public Struct.AbstractBoolean(Type type)

Struct.AbstractBoolean

protected Struct.AbstractBoolean(Type type,
                                 Struct.Offset offset)
Method Detail

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 String toString()
Returns a string representation of this Address.

Overrides:
toString in class Object
Returns:
a string representation of this Address.


Copyright © 2011. All Rights Reserved.