DexNet 4.7.0
Public Member Functions
com::sparsity::dex::gdb::Values Class Reference

Value set class. More...

List of all members.

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.dex.gdb.ValuesIterator Iterator (com.sparsity.dex.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::dex::gdb::Values::Close ( )

Closes the Values instance.

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

long com::sparsity::dex::gdb::Values::Count ( )

Gets the number of elements into the collection.

Returns:
The number of elements into the collection.
boolean com::sparsity::dex::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.dex.gdb.ValuesIterator com::sparsity::dex::gdb::Values::Iterator ( com.sparsity.dex.gdb.Order  order)

Gets a ValuesIterator.

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