public class ValueList
extends java.lang.Object
It stores a Value list.
Use ValueListIterator to access all elements into this collection.
Constructor and Description |
---|
ValueList()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Value value)
Adds a value to the end of the list.
|
void |
clear()
Clears the list.
|
int |
count()
Number of elements in the list.
|
Value |
get(int index)
Returns the Value at the specified position in the list.
|
ValueListIterator |
iterator()
Gets a new ValueListIterator.
|
public void clear()
public Value get(int index)
index
- [in] Index of the element to return, starting at 0.public ValueListIterator iterator()
public void add(Value value)
value
- [in] The value to addpublic int count()