com.jnape.palatable.lambda.internal.iteration

## Class ScanningIterator<A,B>

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

- All Implemented Interfaces:
    Iterator<B>

      public final class ScanningIterator<A,B>
      extends ImmutableIterator<B>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScanningIterator(Fn2<? super B,? super A,? extends B> scanner, B b, Iterator<A> asIterator)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `B` | `next()`

    - ### Methods inherited from class com.jnape.palatable.lambda.internal.iteration.ImmutableIterator

      `remove`

    - ### 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`

- - ### Constructor Detail

    - #### ScanningIterator

          public ScanningIterator(Fn2<? super B,? super A,? extends B> scanner,
                                  B b,
                                  Iterator<A> asIterator)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

    - #### next

          public B next()