|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.rdf2go.StatementIterator
public class StatementIterator
Closable iterator over OpenRDF Statements that converts them to RDF2Go Statements on demand. This iterator closes itself automatically after having returned the last statement.
| Constructor Summary | |
|---|---|
StatementIterator(info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Statement,? extends org.openrdf.OpenRDFException> cit,
RepositoryModel model)
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected void |
finalize()
|
boolean |
hasNext()
|
Statement |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatementIterator(info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Statement,? extends org.openrdf.OpenRDFException> cit,
RepositoryModel model)
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<Statement>hasNext in interface ClosableIterator<Statement>public Statement next()
next in interface java.util.Iterator<Statement>next in interface ClosableIterator<Statement>public void remove()
remove in interface java.util.Iterator<Statement>remove in interface ClosableIterator<Statement>public void close()
close in interface ClosableIterator<Statement>
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||