Sparksee  6.0.2
STSKeyValues Class Reference

Value set class. More...

Inheritance diagram for STSKeyValues:
Inheritance graph
Collaboration diagram for STSKeyValues:
Collaboration graph

Instance Methods

(BOOL) - hasNext
 Checks if the KeyValues has more KeyValue pairs. More...
 
(STSKeyValue *) - next
 Gets the next KeyValue pair. More...
 
(void) - nextKeyValue:
 Gets the next KeyValue pair. More...
 
(void) - close
 Closes the KeyValues instance. More...
 
(BOOL) - isClosed
 Check if the KeyValues instance is closed.
 

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

Method Documentation

- (void) close

Closes the KeyValues instance.

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

- (BOOL) hasNext

Checks if the KeyValues has more KeyValue pairs.

Returns
Returns ture if there are more KeyValue pairs
- (STSKeyValue*) next

Gets the next KeyValue pair.

Returns
Returns the next KeyValue pair
- (void) nextKeyValue: (STSKeyValue *)  kv

Gets the next KeyValue pair.

Parameters
kvReturns the next KeyValue pair

The documentation for this class was generated from the following file: