|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.iter.Iter
public abstract class Iter
Iterator interface.
| Field Summary | |
|---|---|
static Iter |
EMPTY
Empty iterator. |
| Constructor Summary | |
|---|---|
Iter()
|
|
| Method Summary | |
|---|---|
Item |
finish()
Returns a sequence from all iterator values. |
Item |
get(long i)
Returns the specified item. |
abstract Item |
next()
Returns the next item or null if no other items are found. |
boolean |
reset()
Resets the iterator and returns true. |
boolean |
reverse()
Reverses the iterator and returns true. |
int |
size()
Returns the number of entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Iter EMPTY
| Constructor Detail |
|---|
public Iter()
| Method Detail |
|---|
public abstract Item next()
throws QueryException
QueryException - query exceptionpublic Item get(long i)
i - value offset
public int size()
get(long) has to be implemented as well.
public boolean reset()
public boolean reverse()
public Item finish()
throws QueryException
next().
QueryException - query exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||