## Uses of Interface
org.apache.tinkerpop.gremlin.process.traversal.Traverser

- Packages that use Traverser
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.process.traversal |
  org.apache.tinkerpop.gremlin.process.traversal.dsl.graph |

- - ### Uses of Traverser in org.apache.tinkerpop.gremlin.process.traversal

    Subinterfaces of Traverser in org.apache.tinkerpop.gremlin.process.traversal
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `Traverser.Admin<T>` The methods in System.Traverser are useful to underlying Step and Traversal implementations.

    Methods in org.apache.tinkerpop.gremlin.process.traversal that return Traverser
    Modifier and Type | Method and Description
    --- | ---
    `Traverser<T>` | Traverser.`clone()` Traverser cloning is important when splitting a traverser at a bifurcation point in a traversal.

    Methods in org.apache.tinkerpop.gremlin.process.traversal with parameters of type Traverser
    Modifier and Type | Method and Description
    --- | ---
    `default int` | Traverser.`compareTo(Traverser<T> other)` If the underlying object of the traverser is comparable, compare it with the other traverser.

  - ### Uses of Traverser in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph

    Method parameters in org.apache.tinkerpop.gremlin.process.traversal.dsl.graph with type arguments of type Traverser
    Modifier and Type | Method and Description
    --- | ---
    `default <M,E2> GraphTraversal<S,E2>` | GraphTraversal.`branch(Function<Traverser<E>,M> function)` Split the `Traverser` to all the specified functions.
    `default GraphTraversal<S,E>` | GraphTraversal.`emit(Predicate<Traverser<E>> emitPredicate)` Emit is used in conjunction with `GraphTraversal.repeat(Traversal)` to determine what objects get emit from the loop.
    `default GraphTraversal<S,E>` | GraphTraversal.`filter(Predicate<Traverser<E>> predicate)` Map the `Traverser` to either `true` or `false`, where `false` will not pass the traverser to the next step.
    `default <E2> GraphTraversal<S,E2>` | GraphTraversal.`flatMap(Function<Traverser<E>,Iterator<E2>> function)` Map a `Traverser` referencing an object of type `E` to an iterator of objects of type `E2`.
    `default <E2> GraphTraversal<S,E2>` | GraphTraversal.`map(Function<Traverser<E>,E2> function)` Map a `Traverser` referencing an object of type `E` to an object of type `E2`.
    `default GraphTraversal<S,E>` | GraphTraversal.`sideEffect(Consumer<Traverser<E>> consumer)` Perform some operation on the `Traverser` and pass it to the next step unmodified.
    `default GraphTraversal<S,E>` | GraphTraversal.`until(Predicate<Traverser<E>> untilPredicate)` Modifies a `GraphTraversal.repeat(Traversal)` to determine when the loop should exit.

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