Class ForEachSupport.DeferredIterator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int currentIndex  
      protected java.util.Iterator iterator  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DeferredIterator​(java.util.Iterator iterator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining, next
    • Field Detail

      • iterator

        protected final java.util.Iterator iterator
      • currentIndex

        protected int currentIndex
    • Constructor Detail

      • DeferredIterator

        protected DeferredIterator​(java.util.Iterator iterator)
    • Method Detail

      • hasNext

        public boolean hasNext()