org.apache.tinkerpop.gremlin.server.util

## Class TraverserIterator

- java.lang.Object
- - org.apache.tinkerpop.gremlin.server.util.TraverserIterator

- All Implemented Interfaces:
    Iterator<Object>

      public class TraverserIterator
      extends Object
      implements Iterator<Object>

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TraverserIterator(Traversal.Admin traversal)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Traversal.Admin` | `getTraversal()`
    `boolean` | `hasNext()`
    `Object` | `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

    - #### TraverserIterator

          public TraverserIterator(Traversal.Admin traversal)

  - ### Method Detail

    - #### getTraversal

          public Traversal.Admin getTraversal()

    - #### hasNext

          public boolean hasNext()

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

    - #### next

          public Object next()

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

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