Class SingleQueryResultIterator
- java.lang.Object
-
- net.ontopia.topicmaps.query.utils.SingleQueryResultIterator
-
- All Implemented Interfaces:
Iterator
public class SingleQueryResultIterator extends Object implements Iterator
INTERNAL: Iterator that iterates over a QueryResultIF and returns an immutable Map instance for each query result row. Note that the Map instance is the same for each item, and that only the Map values change with each step. This means that this iterator must be used with care.
-
-
Constructor Summary
Constructors Constructor Description SingleQueryResultIterator(QueryResultIF result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Object
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Field Detail
-
result
protected QueryResultIF result
-
rowmap
protected ArrayMap rowmap
-
values
protected Object[] values
-
has_next
protected boolean has_next
-
-
Constructor Detail
-
SingleQueryResultIterator
public SingleQueryResultIterator(QueryResultIF result)
-
-