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