org.apache.tinkerpop.gremlin.groovy.function

## Class GFunction<A,B>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.groovy.function.GFunction<A,B>

- All Implemented Interfaces:
    Function<A,B>, LambdaHolder

  Deprecated.
  As of release 3.1.0, use `as Function` in Groovy.

      @Deprecated
      public final class GFunction<A,B>
      extends Object
      implements Function<A,B>, LambdaHolder

  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GFunction(Closure closure)` Deprecated.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `B` | `apply(A a)` Deprecated.
    `static GFunction[]` | `make(Closure... closures)` Deprecated.
    `String` | `toString()` Deprecated.

    - ### 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

    - #### GFunction

          public GFunction(Closure closure)

      Deprecated.

  - ### Method Detail

    - #### apply

          public B apply(A a)

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

    - #### make

          public static GFunction[] make(Closure... closures)

      Deprecated.

    - #### toString

          public String toString()

      Deprecated.
      Overrides:
        `toString` in class `Object`

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