public class RecursiveIteratorIterator extends java.lang.Object implements OuterIterator, Traversable, Iterator
| Modifier and Type | Field and Description |
|---|---|
static int |
CATCH_GET_CHILD |
static int |
CHILD_FIRST |
static int |
LEAVES_ONLY |
static int |
SELF_FIRST |
| Constructor and Description |
|---|
RecursiveIteratorIterator(Env env,
Value value,
int mode,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
Value |
current(Env env)
Returns the current value.
|
RecursiveIterator |
getInnerIterator() |
Value |
key(Env env)
Returns the current key.
|
void |
next(Env env)
Advances to the next row.
|
void |
rewind(Env env)
Rewinds the iterator so it is at the first row.
|
java.lang.String |
toString() |
boolean |
valid(Env env)
Returns true if the iterator currently points to a valid row.
|
public static final int LEAVES_ONLY
public static final int SELF_FIRST
public static final int CHILD_FIRST
public static final int CATCH_GET_CHILD
public RecursiveIterator getInnerIterator()
getInnerIterator in interface OuterIteratorpublic boolean valid(Env env)
Iteratorpublic Value current(Env env)
Iteratorpublic void next(Env env)
Iteratorpublic void rewind(Env env)
Iteratorpublic java.lang.String toString()
toString in class java.lang.Object