org.apache.tinkerpop.gremlin.process.traversal.lambda

## Class FunctionTraverser<A,B>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.lambda.FunctionTraverser<A,B>

- All Implemented Interfaces:
    Serializable, Function<Traverser<A>,B>

      public final class FunctionTraverser<A,B>
      extends Object
      implements Function<Traverser<A>,B>, Serializable

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FunctionTraverser(Function<A,B> function)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `B` | `apply(Traverser<A> traverser)`
    `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.function.Function

      `andThen, compose, identity`

- - ### Constructor Detail

    - #### FunctionTraverser

          public FunctionTraverser(Function<A,B> function)

  - ### Method Detail

    - #### apply

          public B apply(Traverser<A> traverser)

      Specified by:
        `apply` in interface `Function<Traverser<A>,B>`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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