|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ChildIterator
public final class ChildIterator
Offers an iterator for the children of a node. Could as well be defined as generic child iterator.
| Constructor Summary | |
|---|---|
ChildIterator(Data d,
int p)
Default Constructor. |
|
| Method Summary | |
|---|---|
int[] |
all()
Returns an array with all pre values. |
void |
init(int p)
Initializes the iterator. |
boolean |
more()
Returns if the node offers more children. |
int |
next()
Returns the pre value of the next child. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChildIterator(Data d,
int p)
d - data referencep - value of directory node| Method Detail |
|---|
public void init(int p)
p - root pre valuepublic boolean more()
public int next()
public int[] all()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||