SparkseeNet  5.2.0
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. More...
 
void Close ()
 Closes the Values instance. More...
 
long Count ()
 Gets the number of elements into the collection. More...
 
com.sparsity.sparksee.gdb.ValuesIterator Iterator (com.sparsity.sparksee.gdb.Order order)
 Gets a ValuesIterator. 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

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.