|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.util.BoolList
public final class BoolList
This is a simple container for native boolean values.
Field Summary | |
---|---|
boolean[] |
list
Value array. |
int |
size
Current array size. |
Constructor Summary | |
---|---|
BoolList()
Default constructor. |
|
BoolList(int c)
Constructor, specifying the initial array size. |
Method Summary | |
---|---|
void |
add(boolean v)
Adds next value. |
boolean |
all(boolean b)
Checks if all values are b. |
boolean[] |
finish()
Finishes the int array. |
void |
reset()
Resets the integer list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean[] list
public int size
Constructor Detail |
---|
public BoolList()
public BoolList(int c)
c
- initial sizeMethod Detail |
---|
public void add(boolean v)
v
- value to be addedpublic boolean[] finish()
public void reset()
public boolean all(boolean b)
b
- boolean b
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |