public class BasicQueryResult.BasicQueryResultIterator extends java.lang.Object implements QueryResultIterator
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this iterator and release any resources held.
|
boolean |
hasNext()
Return true if this query result iterator has not been
closed and the internal iterator has more elements.
|
boolean |
isClosed()
Return true if the user has closed this iterator.
|
java.lang.Object |
next()
Advance and return the next element of the iterator.
|
void |
remove()
Throw an exception.
|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void close()
close
in interface QueryResultIterator
public void remove()
remove
in interface java.util.Iterator
public boolean isClosed()
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.