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

## Class MapIterator<K,V>

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

- All Implemented Interfaces:
    Iterator<<any>>

      public final class MapIterator<K,V>
      extends Object
      implements Iterator<<any>>

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MapIterator(MapReduce<K,V,?,?,?> 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

    - #### MapIterator

          public MapIterator(MapReduce<K,V,?,?,?> 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–2020 Apache Software Foundation. All rights reserved.