Class CloseablePeakableIteration<E>

java.lang.Object
org.eclipse.rdf4j.sail.shacl.wrapper.data.CloseablePeakableIteration<E>
All Implemented Interfaces:
AutoCloseable, Iterator<E>, CloseableIteration<E>

@InternalUseOnly public class CloseablePeakableIteration<E> extends Object implements CloseableIteration<E>
  • Constructor Details

  • Method Details

    • close

      public void close()
      Description copied from interface: CloseableIteration
      Closes this iteration, freeing any resources that it is holding. If the iteration has already been closed then invoking this method has no effect.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface 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()