Class CloseablePeakableIteration<E,​X extends Exception>

  • All Implemented Interfaces:
    AutoCloseable, org.eclipse.rdf4j.common.iteration.CloseableIteration<E,​X>, org.eclipse.rdf4j.common.iteration.Iteration<E,​X>

    @InternalUseOnly
    public class CloseablePeakableIteration<E,​X extends Exception>
    extends Object
    implements org.eclipse.rdf4j.common.iteration.CloseableIteration<E,​X>
    • Constructor Detail

      • CloseablePeakableIteration

        public CloseablePeakableIteration​(org.eclipse.rdf4j.common.iteration.CloseableIteration<E,​X> parent)
    • Method Detail

      • close

        public void close()
                   throws X extends Exception
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface org.eclipse.rdf4j.common.iteration.CloseableIteration<E,​X extends Exception>
        Throws:
        X extends Exception
      • hasNext

        public boolean hasNext()
                        throws X extends Exception
        Specified by:
        hasNext in interface org.eclipse.rdf4j.common.iteration.Iteration<E,​X extends Exception>
        Throws:
        X extends Exception
      • next

        public E next()
               throws X extends Exception
        Specified by:
        next in interface org.eclipse.rdf4j.common.iteration.Iteration<E,​X extends Exception>
        Throws:
        X extends Exception
      • remove

        public void remove()
                    throws X extends Exception
        Specified by:
        remove in interface org.eclipse.rdf4j.common.iteration.Iteration<E,​X extends Exception>
        Throws:
        X extends Exception