|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sail.util.EmptyValueIterator
A ValueIterator that contains exactly zero resources.
| Constructor Summary | |
EmptyValueIterator()
Creates an EmptyValueIterator. |
|
| Method Summary | |
void |
close()
Closes the iterator and frees any resources that it uses (e.g. |
boolean |
hasNext()
Always return false; |
Value |
next()
Always throws a NoSuchElementException as there are no results in an EmptyValueIterator. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EmptyValueIterator()
| Method Detail |
public boolean hasNext()
hasNext in interface ValueIteratorpublic Value next()
next in interface ValueIteratorNoSuchElementException - Is always thrown.public void close()
ValueIterator
close in interface ValueIterator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||