org.apache.tinkerpop.gremlin.groovy.function

## Class GUnaryOperator<A>

- java.lang.Object
- - org.apache.tinkerpop.gremlin.groovy.function.GUnaryOperator<A>

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

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

      @Deprecated
      public final class GUnaryOperator<A>
      extends Object
      implements UnaryOperator<A>, LambdaHolder

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `A` | `apply(A a)` Deprecated.
    `static GUnaryOperator[]` | `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.UnaryOperator

      `identity`

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

      `andThen, compose`

- - ### Constructor Detail

    - #### GUnaryOperator

          public GUnaryOperator(Closure closure)

      Deprecated.

  - ### Method Detail

    - #### make

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

      Deprecated.

    - #### toString

          public String toString()

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

    - #### apply

          public A apply(A a)

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

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