org.apache.tinkerpop.gremlin.process.traversal.step.util

## Class ExpandableStepIterator<S>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.step.util.ExpandableStepIterator<S>

- All Implemented Interfaces:
    Serializable, Iterator<Traverser.Admin<S>>

      public final class ExpandableStepIterator<S>
      extends Object
      implements Iterator<Traverser.Admin<S>>, Serializable

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExpandableStepIterator(Step<S,?> hostStep)`
    `ExpandableStepIterator(Step<S,?> hostStep, TraverserSet<S> traverserSet)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Iterator<Traverser.Admin<S>> iterator)`
    `void` | `add(Traverser.Admin<S> traverser)`
    `void` | `clear()`
    `boolean` | `hasNext()`
    `Traverser.Admin<S>` | `next()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining, remove`

- - ### Constructor Detail

    - #### ExpandableStepIterator

          public ExpandableStepIterator(Step<S,?> hostStep)

    - #### ExpandableStepIterator

          public ExpandableStepIterator(Step<S,?> hostStep,
                                        TraverserSet<S> traverserSet)

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `Iterator<Traverser.Admin<S>>`

    - #### next

          public Traverser.Admin<S> next()

      Specified by:
        `next` in interface `Iterator<Traverser.Admin<S>>`

    - #### add

          public void add(Iterator<Traverser.Admin<S>> iterator)

    - #### add

          public void add(Traverser.Admin<S> traverser)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### clear

          public void clear()

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