com.jnape.palatable.lambda.internal.iteration

## Class TrampoliningIterator<A,B>

- java.lang.Object
- - com.jnape.palatable.lambda.internal.iteration.TrampoliningIterator<A,B>

- All Implemented Interfaces:
    Iterator<B>

      public final class TrampoliningIterator<A,B>
      extends Object
      implements Iterator<B>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TrampoliningIterator(Fn1<? super A,? extends Iterable<RecursiveResult<A,B>>> fn, A a)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `B` | `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, remove`

- - ### Constructor Detail

    - #### TrampoliningIterator

          public TrampoliningIterator(Fn1<? super A,? extends Iterable<RecursiveResult<A,B>>> fn,
                                      A a)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<B>`

    - #### next

          public B next()

      Specified by:
        `next` in interface `Iterator<B>`