public class PredicatesOfStatementsIterator extends java.lang.Object implements ARTURIResourceIterator
Constructor and Description |
---|
PredicatesOfStatementsIterator(ARTStatementIterator statIt) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes the iterator and release resources
|
ARTURIResource |
getNext()
gets the next element of the iterator, and advances over the data stream (roughly
equivalent to traditional
next() iterator method) |
boolean |
hasNext() |
ARTURIResource |
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 PredicatesOfStatementsIterator(ARTStatementIterator statIt)
public void close() throws ModelAccessException
RDFIterator
close
in interface RDFIterator<ARTURIResource>
ModelAccessException
public boolean streamOpen() throws ModelAccessException
RDFIterator
hasNext()
iterator method)streamOpen
in interface RDFIterator<ARTURIResource>
ModelAccessException
public ARTURIResource getNext() throws ModelAccessException
RDFIterator
next()
iterator method)getNext
in interface RDFIterator<ARTURIResource>
ModelAccessException
public boolean hasNext()
hasNext
in interface java.util.Iterator<ARTURIResource>
public ARTURIResource next()
next
in interface java.util.Iterator<ARTURIResource>
public void remove()
remove
in interface java.util.Iterator<ARTURIResource>
Copyright © 2013 ART Group, University of Rome, Tor Vergata. All Rights Reserved.