public final class GComparator<A> extends Object implements Comparator<A>, LambdaHolder
| Constructor and Description |
|---|
GComparator(Closure closure) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(A first,
A second) |
static GComparator[] |
make(Closure... closures) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(A first, A second)
compare in interface Comparator<A>public static GComparator[] make(Closure... closures)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.