|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
BoolList()
Default constructor. |
|
BoolList(int c)
Constructor, specifying the initial array size. |
|
| Method Summary | |
|---|---|
void |
add(boolean v)
Adds next value. |
boolean[] |
finish()
Finishes the int array. |
boolean |
get(int p)
Returns the specified value. |
void |
reset()
Resets the integer list. |
void |
set(boolean v,
int p)
Sets a value at the specified position. |
int |
size()
Returns the number of entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoolList()
public BoolList(int c)
c - initial size| Method Detail |
|---|
public void add(boolean v)
v - value to be addedpublic int size()
public boolean get(int p)
p - position
public void set(boolean v,
int p)
v - value to be addedp - positionpublic boolean[] finish()
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||