Class Iterables.IteratingIterable<A>

java.lang.Object
io.atlassian.fugue.Iterables.IteratingIterable<A>
All Implemented Interfaces:
Iterable<A>
Enclosing class:
Iterables

static final class Iterables.IteratingIterable<A> extends Object implements Iterable<A>
Infinite iterable that repeatedly applies f to start
  • Field Details

    • f

      private final Function<? super A,? extends A> f
    • start

      private final A start
  • Constructor Details

    • IteratingIterable

      private IteratingIterable(Function<? super A,? extends A> f, A start)
  • Method Details