Package org.basex.query.iter
Class NodeIter
java.lang.Object
org.basex.query.iter.Iter
org.basex.query.iter.NodeIter
- Direct Known Subclasses:
BasicNodeIter
ANode iterator interface.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NodeIter
public NodeIter()
-
-
Method Details
-
next
Description copied from class:IterReturns the next item.- Specified by:
nextin classIter- Returns:
- resulting item, or
nullif all items have been returned - Throws:
QueryException- query exception
-
get
Description copied from class:IterReturns the specified item, or an arbitrary item if the index is invalid. If this method returns items,Iter.size()needs to be implemented as well. -
size
public long size()Description copied from class:IterReturns the iterator size.-1is returned if the result size is unknown. If this method returns a positive value,Iter.get(long)needs to be implemented as well.
-