|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.floodlightcontroller.storage.ResultSetIterator
public class ResultSetIterator
Iterator wrapper for an IResultSet, useful for iterating through query results in an enhanced for (foreach) loop. Note that the iterator manipulates the state of the underlying IResultSet.
Constructor Summary | |
---|---|
ResultSetIterator(IResultSet resultSet)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
IResultSet |
next()
|
void |
remove()
Row removal is not supported; use IResultSet.deleteRow instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetIterator(IResultSet resultSet)
Method Detail |
---|
public IResultSet next()
next
in interface java.util.Iterator<IResultSet>
public boolean hasNext()
hasNext
in interface java.util.Iterator<IResultSet>
public void remove()
remove
in interface java.util.Iterator<IResultSet>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |