com.jnape.palatable.lambda.internal.iteration

## Class PrependingIterator<A>

- java.lang.Object
- - com.jnape.palatable.lambda.internal.iteration.ImmutableIterator<A>
  - - com.jnape.palatable.lambda.internal.iteration.PrependingIterator<A>

- All Implemented Interfaces:
    Iterator<A>

      public final class PrependingIterator<A>
      extends ImmutableIterator<A>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrependingIterator(A antecedent, Iterator<A> iterator)`

  - ### Method Summary

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

    - #### PrependingIterator

          public PrependingIterator(A antecedent,
                                    Iterator<A> iterator)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

    - #### next

          public A next()