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

Value set class. More...

Public Member Functions

boolean IsClosed ()
 Gets if Values instance has been closed or not.
 
void Close ()
 Closes the Values instance.
 
long Count ()
 Gets the number of elements into the collection.
 
com.sparsity.sparksee.gdb.ValuesIterator Iterator (com.sparsity.sparksee.gdb.Order order)
 Gets a ValuesIterator.
 

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.Values.Close ( )

Closes the Values instance.

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

long com.sparsity.sparksee.gdb.Values.Count ( )

Gets the number of elements into the collection.

Returns
The number of elements into the collection.
boolean com.sparsity.sparksee.gdb.Values.IsClosed ( )

Gets if Values instance has been closed or not.

See Also
Close()
Returns
TRUE if the Values instance has been closed, FALSE otherwise.
com.sparsity.sparksee.gdb.ValuesIterator com.sparsity.sparksee.gdb.Values.Iterator ( com.sparsity.sparksee.gdb.Order  order)

Gets a ValuesIterator.

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