Class RepetitiousIterator<A>

  • All Implemented Interfaces:
    java.util.Iterator<A>

    public final class RepetitiousIterator<A>
    extends InfiniteIterator<A>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private A value  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • value

        private final A value
    • Constructor Detail

      • RepetitiousIterator

        public RepetitiousIterator​(A value)
    • Method Detail

      • next

        public A next()