public class NodesOfStatementsIterator extends Object implements ARTNodeIterator
Constructor and Description |
---|
NodesOfStatementsIterator(ARTStatementIterator statIt) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes the iterator and release resources
|
ARTNode |
getNext()
gets the next element of the iterator, and advances over the data stream (roughly
equivalent to traditional
next() iterator method) |
boolean |
hasNext() |
ARTNode |
next() |
void |
remove() |
boolean |
streamOpen()
tells if the data stream associated to this iterator is not empty (roughly
equivalent to traditional
hasNext() iterator method) |
public NodesOfStatementsIterator(ARTStatementIterator statIt)
public void close() throws ModelAccessException
RDFIterator
close
in interface RDFIterator<ARTNode>
close
in interface AutoCloseable
ModelAccessException
public boolean streamOpen() throws ModelAccessException
RDFIterator
hasNext()
iterator method)streamOpen
in interface RDFIterator<ARTNode>
ModelAccessException
public ARTNode getNext() throws ModelAccessException
RDFIterator
next()
iterator method)getNext
in interface RDFIterator<ARTNode>
ModelAccessException
Copyright © 2015 ART Group, University of Rome, Tor Vergata. All Rights Reserved.