Class IteratorSlotted<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      T next()
      final - autoclose and registration relies on it - implement moveToNextBinding()
      T peek()
      Look at the next element - returns null when there is no element
      T peek​(T dft)
      Look at the next element - returns dft when there is no element
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Method Detail

      • hasNext

        public final boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<T>
      • next

        public final T next()
        final - autoclose and registration relies on it - implement moveToNextBinding()
        Specified by:
        next in interface java.util.Iterator<T>
      • peek

        public final T peek()
        Look at the next element - returns null when there is no element
      • peek

        public final T peek​(T dft)
        Look at the next element - returns dft when there is no element
      • close

        public final void close()
        Specified by:
        close in interface Closeable