org.apache.tinkerpop.gremlin.spark.process.computer

## Class ReduceIterator<K,V,OK,OV>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.spark.process.computer.ReduceIterator<K,V,OK,OV>

- All Implemented Interfaces:
    Iterator<<any>>

      public final class ReduceIterator<K,V,OK,OV>
      extends Object
      implements Iterator<<any>>

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReduceIterator(MapReduce<K,V,OK,OV,?> mapReduce, Iterator<<any>> inputIterator)`

  - ### Method Summary

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

    - #### ReduceIterator

          public ReduceIterator(MapReduce<K,V,OK,OV,?> mapReduce,
                                Iterator<<any>> inputIterator)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

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

    - #### next

          public <any> next()

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

Copyright © 2013–2021 Apache Software Foundation. All rights reserved.