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

Sparksee object identifier list. More...

Public Member Functions

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

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 ( 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 ( int  numInvalidOIDs)

Constructor.

This creates a list with N invalid oids.

Parameters
numInvalidOIDs[in] The number of invalid oids added to the list.
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.