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

Sparksee object identifier list. More...

Public Member Functions

 OIDList (int N)
 Constructor. More...
 
 OIDList (System.Collections.Generic.ICollection< long > col)
 Creates a new instance from a long collection. More...
 
 OIDList (long[] list)
 Creates a new instance from a long array. More...
 
void Add (long attr)
 Adds a Sparksee object identifier at the end of the list. More...
 
void Clear ()
 Clears the list.
 
void Set (int pos, long oid)
 Sets a Sparksee object identifier at the specified position of the list. More...
 
com.sparsity.sparksee.gdb.OIDListIterator Iterator ()
 Gets a new OIDListIterator. More...
 
int Count ()
 Number of elements in the list. More...
 
 OIDList ()
 Constructor. More...
 

Detailed Description

Sparksee object identifier list.

It stores a Sparksee object identifier list.

Use OIDListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

com.sparsity.sparksee.gdb.OIDList.OIDList ( int  N)

Constructor.

This creates a list with N invalid oids.

Parameters
Nnull
com.sparsity.sparksee.gdb.OIDList.OIDList ( System.Collections.Generic.ICollection< long >  col)

Creates a new instance from a long collection.

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

Creates a new instance from a long array.

Parameters
listLong array to initialize the instance.
com.sparsity.sparksee.gdb.OIDList.OIDList ( )

Constructor.

This creates an empty list.

Member Function Documentation

void com.sparsity.sparksee.gdb.OIDList.Add ( long  attr)

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

Parameters
attr[in] Sparksee object identifier.
int com.sparsity.sparksee.gdb.OIDList.Count ( )

Number of elements in the list.

Returns
Number of elements in the list.
com.sparsity.sparksee.gdb.OIDListIterator com.sparsity.sparksee.gdb.OIDList.Iterator ( )

Gets a new OIDListIterator.

Returns
OIDListIterator instance.
void com.sparsity.sparksee.gdb.OIDList.Set ( int  pos,
long  oid 
)

Sets a Sparksee object identifier at the specified position of the list.

Parameters
pos[in] List position [0..Count()-1].
oid[in] Sparksee object identifier.