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

## Class TraversalObjectFunction<S,E>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.process.traversal.util.TraversalObjectFunction<S,E>

- All Implemented Interfaces:
    Serializable, Function<Graph,Traversal.Admin<S,E>>

      public final class TraversalObjectFunction<S,E>
      extends Object
      implements Function<Graph,Traversal.Admin<S,E>>, Serializable

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TraversalObjectFunction(Traversal.Admin<S,E> traversal)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Traversal.Admin<S,E>` | `apply(Graph graph)`

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

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

    - ### Methods inherited from interface java.util.function.Function

      `andThen, compose, identity`

- - ### Constructor Detail

    - #### TraversalObjectFunction

          public TraversalObjectFunction(Traversal.Admin<S,E> traversal)

  - ### Method Detail

    - #### apply

          public Traversal.Admin<S,E> apply(Graph graph)

      Specified by:
        `apply` in interface `Function<Graph,Traversal.Admin<S,E>>`

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