org.basex.query.util
Class ValueList

java.lang.Object
  extended by org.basex.util.list.ElementList
      extended by org.basex.query.util.ValueList

public final class ValueList
extends ElementList

This is a simple container for values.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.util.list.ElementList
factor, size
 
Constructor Summary
ValueList()
          Default constructor.
 
Method Summary
 void add(Value e)
          Adds an element to the list.
 Value get(int i)
          Returns the element at the specified index.
 java.lang.String toString()
           
 
Methods inherited from class org.basex.util.list.ElementList
isEmpty, newSize, newSize, reset, size, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueList

public ValueList()
Default constructor.

Method Detail

add

public void add(Value e)
Adds an element to the list.

Parameters:
e - element be added

get

public Value get(int i)
Returns the element at the specified index.

Parameters:
i - index
Returns:
element

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object