com.jnape.palatable.lambda.internal.iteration

## Class RateLimitingIterator<A>

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

- All Implemented Interfaces:
    Iterator<A>

      public final class RateLimitingIterator<A>
      extends Object
      implements Iterator<A>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RateLimitingIterator(Iterator<A> asIterator, Set<Tuple3<Long,Duration,Fn0<Instant>>> rateLimits)`

  - ### Method Summary

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

- - ### Constructor Detail

    - #### RateLimitingIterator

          public RateLimitingIterator(Iterator<A> asIterator,
                                      Set<Tuple3<Long,Duration,Fn0<Instant>>> rateLimits)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

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

    - #### next

          public A next()

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