Class ValueList
java.lang.Object
com.sparsity.sparksee.gdb.ValueList
Value list.
It stores a Value list.
Use ValueListIterator to access all elements into this collection.
- Author:
- Sparsity Technologies http://www.sparsity-technologies.com
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueList
public ValueList()Constructor.This creates an empty list.
-
-
Method Details
-
clear
public void clear()Clears the list. -
get
Returns the Value at the specified position in the list.- Parameters:
index- [in] Index of the element to return, starting at 0.
-
iterator
Gets a new ValueListIterator.- Returns:
- ValueListIterator instance.
-
add
Adds a value to the end of the list.- Parameters:
value- [in] The value to add
-
count
public int count()Number of elements in the list.- Returns:
- Number of elements in the list.
-