net.ontopia.topicmaps.query.utils
Class QueryResultIterator
java.lang.Object
net.ontopia.topicmaps.query.utils.QueryResultIterator
- All Implemented Interfaces:
- java.util.Iterator
public class QueryResultIterator
- extends java.lang.Object
- implements java.util.Iterator
INTERNAL: Iterator that iterates over a QueryResultIF and returns a
new immutable Map instance for each query result row.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
result
protected QueryResultIF result
keys
protected java.lang.Object[] keys
has_next
protected boolean has_next
QueryResultIterator
public QueryResultIterator(QueryResultIF result)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
Copyright © 2000-2012 Ontopia.