Class StmtIteratorImpl

    • Constructor Detail

      • StmtIteratorImpl

        public StmtIteratorImpl​(java.util.Iterator<Statement> iterator)
    • Method Detail

      • next

        public Statement next()
        return *and remember* the next element. It must be remembered so that remove works whichever next-method is called.
        Specified by:
        next in interface java.util.Iterator<Statement>
        next in class WrappedIterator<Statement>
      • remove

        public void remove()
        Description copied from class: WrappedIterator
        if .remove() is allowed, delegate to the base iterator's .remove; otherwise, throw an UnsupportedOperationException.
        Specified by:
        remove in interface java.util.Iterator<Statement>
        remove in class WrappedIterator<Statement>
      • nextStatement

        public Statement nextStatement()
        Description copied from interface: StmtIterator
        Return the next Statement of the iteration.
        Specified by:
        nextStatement in interface StmtIterator
        The next Resource from the iteration.