Class Iterables.IteratingIterable.Iter<A>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private A current  
      private java.util.function.Function<? super A,​? extends A> f  
    • Constructor Summary

      Constructors 
      Constructor Description
      Iter​(java.util.function.Function<? super A,​? extends A> f, A start)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      A next()  
      • 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
    • Field Detail

      • f

        private final java.util.function.Function<? super A,​? extends A> f
      • current

        private A current
    • Constructor Detail

      • Iter

        Iter​(java.util.function.Function<? super A,​? extends A> f,
             A start)
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public A next()