public final class ValueList extends ElementList
size
Constructor and Description |
---|
ValueList()
Default constructor.
|
ValueList(int capacity)
Constructor, specifying an initial array capacity.
|
ValueList(Value element)
Constructor, specifying an initial entry.
|
Modifier and Type | Method and Description |
---|---|
ValueList |
add(Value element)
Adds an element to the array.
|
Array |
array()
Returns an XQuery array and invalidates the internal array.
|
Value[] |
finish()
Returns an array with all elements and invalidates the internal array.
|
Value |
get(int p)
Returns the specified element.
|
public ValueList()
public ValueList(int capacity)
capacity
- array capacitypublic ValueList(Value element)
element
- array capacitypublic Value get(int p)
p
- positionpublic ValueList add(Value element)
element
- element to be addedpublic Value[] finish()
public Array array()
Copyright © 2005–2015 BaseX Team. All rights reserved.