net.sf.magicproject.action.context
Class BooleanArray

java.lang.Object
  extended by net.sf.magicproject.action.context.BooleanArray
All Implemented Interfaces:
ActionContext

public class BooleanArray
extends java.lang.Object
implements ActionContext

Since:
0.86
Author:
Fabrice Daugan

Constructor Summary
BooleanArray(int size)
          Create a new context with a new boolean array
 
Method Summary
 boolean getBoolean(int index)
          Return a boolean value of this context.
 void setBoolean(int index, boolean b)
          Set a boolean value of this context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanArray

public BooleanArray(int size)
Create a new context with a new boolean array

Parameters:
size - the array's size of this context.
Method Detail

getBoolean

public boolean getBoolean(int index)
Return a boolean value of this context.

Parameters:
index - the boolean index to be returned
Returns:
the boolean value of this context.

setBoolean

public void setBoolean(int index,
                       boolean b)
Set a boolean value of this context.

Parameters:
index - the boolean index to be set
b - the boolean to set


Copyright © 2003-2007 Magic-Project. All Rights Reserved.