public class ContNodeIteratorImpl extends NiceIterator<RDFNode> implements NodeIterator
| Constructor and Description |
|---|
ContNodeIteratorImpl(Iterator<Statement> iterator,
Object ignored,
Container cont)
Creates new ContNodeIteratorImpl
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
default hasNext: no elements, return false.
|
RDFNode |
next()
default next: throw an exception.
|
RDFNode |
nextNode()
Return the next RDFNode of the iteration.
|
void |
remove()
default remove: we have no elements, so we can't remove any.
|
andThen, andThen, asList, asSet, close, close, emptyIterator, filterDrop, filterKeep, mapWith, removeNext, toList, toSetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseandThen, filterDrop, filterKeep, mapWith, nextOptional, removeNext, toList, toSetforEachRemainingpublic RDFNode next() throws NoSuchElementException
NiceIteratornext in interface Iterator<RDFNode>next in interface NodeIteratornext in class NiceIterator<RDFNode>NoSuchElementException - if there are no more nodes to be returned.public boolean hasNext()
NiceIteratorhasNext in interface Iterator<RDFNode>hasNext in interface NodeIteratorhasNext in class NiceIterator<RDFNode>public RDFNode nextNode() throws NoSuchElementException
NodeIteratornextNode in interface NodeIteratorNoSuchElementException - if there are no more nodes to be returned.public void remove()
throws NoSuchElementException
NiceIteratorremove in interface Iterator<RDFNode>remove in interface NodeIteratorremove in class NiceIterator<RDFNode>NoSuchElementExceptionLicenced under the Apache License, Version 2.0