SparkseeNet  5.2.0
Public Member Functions | List of all members
com.sparsity.sparksee.gdb.BooleanList Class Reference

Boolean list. More...

Public Member Functions

 BooleanList (System.Collections.Generic.ICollection< bool > col)
 Creates a new instance from a boolean collection. More...
 
void Add (bool value)
 Adds a Boolean at the end of the list. More...
 
void Clear ()
 Clears the list.
 
com.sparsity.sparksee.gdb.BooleanListIterator Iterator ()
 Gets a new BooleanListIterator. More...
 
int Count ()
 Number of elements in the list. More...
 
 BooleanList (bool[] list)
 Creates a new instance from a boolean array. More...
 
 BooleanList ()
 Constructor. More...
 

Detailed Description

Boolean list.

It stores a Boolean list.

Use BooleanListIterator to access all elements into this collection.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

com.sparsity.sparksee.gdb.BooleanList.BooleanList ( System.Collections.Generic.ICollection< bool >  col)

Creates a new instance from a boolean collection.

Parameters
colCollection to initialize the instance.
com.sparsity.sparksee.gdb.BooleanList.BooleanList ( bool[]  list)

Creates a new instance from a boolean array.

Parameters
listBoolean array to initialize the instance.
com.sparsity.sparksee.gdb.BooleanList.BooleanList ( )

Constructor.

This creates an empty list.

Member Function Documentation

void com.sparsity.sparksee.gdb.BooleanList.Add ( bool  value)

Adds a Boolean at the end of the list.

Parameters
value[in] Boolean.
int com.sparsity.sparksee.gdb.BooleanList.Count ( )

Number of elements in the list.

Returns
Number of elements in the list.
com.sparsity.sparksee.gdb.BooleanListIterator com.sparsity.sparksee.gdb.BooleanList.Iterator ( )

Gets a new BooleanListIterator.

Returns
BooleanListIterator instance.