net.ontopia.topicmaps.query.utils
Class SingleQueryResultIterator
java.lang.Object
net.ontopia.topicmaps.query.utils.SingleQueryResultIterator
- All Implemented Interfaces:
- java.util.Iterator
public class SingleQueryResultIterator
- extends java.lang.Object
- implements java.util.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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleQueryResultIterator
public SingleQueryResultIterator(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-2010 Ontopia.