org.apache.tinkerpop.gremlin.neo4j.process.util

## Class Neo4jCypherIterator<T>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.neo4j.process.util.Neo4jCypherIterator<T>

- All Implemented Interfaces:
    Iterator<Map<String,T>>

      public final class Neo4jCypherIterator<T>
      extends Object
      implements Iterator<Map<String,T>>

  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Neo4jCypherIterator(Iterator<Map<String,T>> iterator, Neo4jGraph graph)`

  - ### Method Summary

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

    - #### Neo4jCypherIterator

          public Neo4jCypherIterator(Iterator<Map<String,T>> iterator,
                                     Neo4jGraph graph)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<Map<String,T>>`

    - #### next

          public Map<String,T> next()

      Specified by:
        `next` in interface `Iterator<Map<String,T>>`

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