SparkseePython3 6.1.0
sparksee.Values Class Reference

Value set class. More...

Public Member Functions

 count (self)
 Gets the number of elements into the collection.
 __iter__ (self)
 Gets a new ValuesIterator.
 iterator (self, order)
 Gets a ValuesIterator.
 close (self)
 Closes the Values instance.
 is_closed (self)
 Gets if Values instance has been closed or not.

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

◆ __iter__()

sparksee.Values.__iter__ ( self)

Gets a new ValuesIterator.

Returns
ValuesIterator instance

◆ close()

sparksee.Values.close ( self)

Closes the Values instance.

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

◆ count()

sparksee.Values.count ( self)

Gets the number of elements into the collection.

Returns
The number of elements into the collection.

◆ is_closed()

sparksee.Values.is_closed ( self)

Gets if Values instance has been closed or not.

See also
close()
Returns
TRUE if the Values instance has been closed, FALSE otherwise.

◆ iterator()

sparksee.Values.iterator ( self,
order )

Gets a ValuesIterator.

Parameters
order[in] Ascending or descending order.
Returns
ValuesIterator instance.