SparkseePython  6.0.2
Public Member Functions | List of all members
sparksee.Values Class Reference

Value set class. More...

Public Member Functions

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

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

def sparksee.Values.__iter__ (   self)

Gets a new ValuesIterator.

Returns
ValuesIterator instance
def sparksee.Values.close (   self)

Closes the Values instance.

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

def sparksee.Values.count (   self)

Gets the number of elements into the collection.

Returns
The number of elements into the collection.
def 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.
def sparksee.Values.iterator (   self,
  order 
)

Gets a ValuesIterator.

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