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
RDFIteratorclose in interface RDFIterator<ARTURIResource>ModelAccessExceptionpublic boolean streamOpen()
throws ModelAccessException
RDFIteratorhasNext() iterator method)streamOpen in interface RDFIterator<ARTURIResource>ModelAccessExceptionpublic ARTURIResource getNext() throws ModelAccessException
RDFIteratornext() iterator method)getNext in interface RDFIterator<ARTURIResource>ModelAccessExceptionpublic 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.