zombie.core.utils
Class ExpandableBooleanList
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandableBooleanList
public ExpandableBooleanList(int width)
- C'tor
- Parameters:
width
- height
-
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