org.apache.tinkerpop.gremlin.groovy.function

## Class GComparator<A>

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

- All Implemented Interfaces:
    Comparator<A>, LambdaHolder

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

      @Deprecated
      public final class GComparator<A>
      extends Object
      implements Comparator<A>, LambdaHolder

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

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(A first, A second)` Deprecated.
    `static GComparator[]` | `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.Comparator

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### GComparator

          public GComparator(Closure closure)

      Deprecated.

  - ### Method Detail

    - #### compare

          public int compare(A first,
                             A second)

      Deprecated.
      Specified by:
        `compare` in interface `Comparator<A>`

    - #### make

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

      Deprecated.

    - #### toString

          public String toString()

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

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