Class ValueList

java.lang.Object
com.sparsity.sparksee.gdb.ValueList

public class ValueList extends Object
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 Details

    • ValueList

      public ValueList()
      Constructor.

      This creates an empty list.

  • Method Details

    • clear

      public void clear()
      Clears the list.

    • get

      public Value get(int index)
      Returns the Value at the specified position in the list.

      Parameters:
      index - [in] Index of the element to return, starting at 0.
    • iterator

      public ValueListIterator iterator()
      Gets a new ValueListIterator.

      Returns:
      ValueListIterator instance.
    • add

      public void add(Value value)
      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.