Class CloseablePeakableIteration<E>

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

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

      • CloseablePeakableIteration

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

      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface org.eclipse.rdf4j.common.iteration.CloseableIteration<E>
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<E>
      • next

        public E next()
        Specified by:
        next in interface Iterator<E>
      • remove

        public void remove()
        Specified by:
        remove in interface Iterator<E>
      • peek

        public E peek()