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

Value set class. More...

Public Member Functions

boolean IsClosed ()
 Gets if KeyValues instance has been closed or not.
 
void Close ()
 Closes the KeyValues instance.
 
bool HasNext ()
 Checks if the KeyValues has more KeyValue pairs.
 
com.sparsity.sparksee.gdb.KeyValue Next ()
 Gets the next KeyValue pair.
 
void Next (com.sparsity.sparksee.gdb.KeyValue kv)
 Gets the next KeyValue pair.
 

Detailed Description

Value set class.

This is a set of Value instances, that is there is no duplicated elements.

Use a ValuesIterator to traverse all the elements into the set.

When the Values instance is closed, it closes all existing and non-closed ValuesIterator instances too.

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

Member Function Documentation

void com.sparsity.sparksee.gdb.KeyValues.Close ( )

Closes the KeyValues instance.

It must be called to ensure the integrity of all data.

bool com.sparsity.sparksee.gdb.KeyValues.HasNext ( )

Checks if the KeyValues has more KeyValue pairs.

Returns
Returns ture if there are more KeyValue pairs
boolean com.sparsity.sparksee.gdb.KeyValues.IsClosed ( )

Gets if KeyValues instance has been closed or not.

See Also
Close()
Returns
TRUE if the KeyValues instance has been closed, FALSE otherwise.
com.sparsity.sparksee.gdb.KeyValue com.sparsity.sparksee.gdb.KeyValues.Next ( )

Gets the next KeyValue pair.

Returns
Returns the next KeyValue pair
void com.sparsity.sparksee.gdb.KeyValues.Next ( com.sparsity.sparksee.gdb.KeyValue  kv)

Gets the next KeyValue pair.

Parameters
kvReturns the next KeyValue pair