zombie.core.utils
Class ExpandableBooleanList

java.lang.Object
  extended by zombie.core.utils.ExpandableBooleanList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ExpandableBooleanList
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Expandable boolean list.

See Also:
Serialized Form

Constructor Summary
ExpandableBooleanList(int width)
          C'tor
 
Method Summary
 void clear()
           
 ExpandableBooleanList clone()
           
 void fill()
           
 boolean getValue(int x)
           
 int getWidth()
           
 void setValue(int x, boolean newValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandableBooleanList

public ExpandableBooleanList(int width)
C'tor

Parameters:
width -
height -
Method Detail

clone

public ExpandableBooleanList clone()
                            throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

clear

public void clear()

fill

public void fill()

getValue

public boolean getValue(int x)

setValue

public void setValue(int x,
                     boolean newValue)

getWidth

public final int getWidth()
Returns:
the width