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

Sparksee type identifier list. More...

Public Member Functions

 TypeList (int[] list)
 Creates a new instance from an integer array. More...
 
void Add (int type)
 Adds a Sparksee type identifier at the end of the list. More...
 
void Clear ()
 Clears the list.
 
 TypeList (System.Collections.Generic.ICollection< int > col)
 Creates a new instance from an integer collection. More...
 
com.sparsity.sparksee.gdb.TypeListIterator Iterator ()
 Gets a new TypeListIterator. More...
 
 TypeList ()
 Constructor. More...
 
int Count ()
 Number of elements in the list. More...
 

Detailed Description

Sparksee type identifier list.

It stores a Sparksee node or edge type identifier list.

Use TypeListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

com.sparsity.sparksee.gdb.TypeList.TypeList ( int[]  list)

Creates a new instance from an integer array.

Parameters
listInteger array to initialize the instance.
com.sparsity.sparksee.gdb.TypeList.TypeList ( System.Collections.Generic.ICollection< int >  col)

Creates a new instance from an integer collection.

Parameters
colCollection to initialize the instance.
com.sparsity.sparksee.gdb.TypeList.TypeList ( )

Constructor.

This creates an empty list.

Member Function Documentation

void com.sparsity.sparksee.gdb.TypeList.Add ( int  type)

Adds a Sparksee type identifier at the end of the list.

Parameters
type[in] Sparksee type identifier.
int com.sparsity.sparksee.gdb.TypeList.Count ( )

Number of elements in the list.

Returns
Number of elements in the list.
com.sparsity.sparksee.gdb.TypeListIterator com.sparsity.sparksee.gdb.TypeList.Iterator ( )

Gets a new TypeListIterator.

Returns
TypeListIterator instance.