org.basex.util
Class BoolList

java.lang.Object
  extended by org.basex.util.BoolList

public final class BoolList
extends java.lang.Object

This is a simple container for native boolean values.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary
 boolean[] list
          Value array.
 int size
          Current array size.
 
Constructor Summary
BoolList()
          Default constructor.
 
Method Summary
 void add(boolean v)
          Adds next value.
 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

list

public boolean[] list
Value array.


size

public int size
Current array size.

Constructor Detail

BoolList

public BoolList()
Default constructor.

Method Detail

add

public void add(boolean v)
Adds next value.

Parameters:
v - value to be added

finish

public boolean[] finish()
Finishes the int array.

Returns:
int array

reset

public void reset()
Resets the integer list.