|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.xquery.iter.Iter
org.basex.query.xquery.iter.SeqIter
public final class SeqIter
Sequence Iterator.
Field Summary | |
---|---|
Item[] |
item
Items. |
int |
pos
Iterator. |
int |
size
Size. |
Fields inherited from class org.basex.query.xquery.iter.Iter |
---|
EMPTY |
Constructor Summary | |
---|---|
SeqIter()
Constructor. |
|
SeqIter(Iter iter)
Constructor. |
Method Summary | |
---|---|
void |
add(Item it)
Adds a single item. |
void |
add(Iter iter)
Adds the contents of an iterator. |
static Iter |
get(Item[] it,
int s)
Constructor. |
Item |
next()
Returns the next item or null if no other items are found. |
void |
reset()
Resets the iterator; can be optionally implemented. |
long |
size()
Returns the number of entries. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.query.xquery.iter.Iter |
---|
atomic, ebv, finish, seqErr |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Item[] item
public int size
public int pos
Constructor Detail |
---|
public SeqIter()
public SeqIter(Iter iter) throws XQException
iter
- iterator
XQException
- evaluation exceptionMethod Detail |
---|
public static Iter get(Item[] it, int s)
it
- item arrays
- size
public void add(Iter iter) throws XQException
iter
- entry to be added
XQException
- evaluation exceptionpublic void add(Item it)
it
- item to be addedpublic Item next()
Iter
next
in class Iter
public void reset()
Iter
reset
in class Iter
public long size()
Iter
size
in class Iter
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |