SparkseeNet 6.1.0
com.sparsity.sparksee.gdb.KeyValues Class Reference

Value set class. More...

Public Member Functions

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

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

◆ Close()

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

Closes the KeyValues instance.

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

◆ HasNext()

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

Checks if the KeyValues has more KeyValue pairs.

Returns
Returns ture if there are more KeyValue pairs

◆ IsClosed()

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.

◆ Next() [1/2]

com.sparsity.sparksee.gdb.KeyValue com.sparsity.sparksee.gdb.KeyValues.Next ( )

Gets the next KeyValue pair.

Returns
Returns the next KeyValue pair

◆ Next() [2/2]

void com.sparsity.sparksee.gdb.KeyValues.Next ( com.sparsity.sparksee.gdb.KeyValue kv)

Gets the next KeyValue pair.

Parameters
kvReturns the next KeyValue pair