public final class ANodeList extends ElementList implements Iterable<ANode>
size
Constructor and Description |
---|
ANodeList()
Constructor.
|
ANodeList(ANode... n)
Constructor, specifying initial nodes.
|
ANodeList(int c)
Constructor, specifying an initial array capacity.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ANode e)
Adds an element to the array.
|
ANode |
get(int p)
Returns the specified element.
|
Iterator<ANode> |
iterator() |
void |
set(int i,
ANode e)
Sets an element at the specified index position.
|
Value |
value()
Returns an array with all elements.
|
public ANodeList()
public ANodeList(int c)
c
- array capacitypublic ANodeList(ANode... n)
n
- initial nodespublic void add(ANode e)
e
- element to be addedpublic void set(int i, ANode e)
i
- indexe
- element to be setpublic ANode get(int p)
p
- positionpublic Value value()
Copyright © 2005–2015 BaseX Team. All rights reserved.