T - the type to compareC - the type of the comparable key@GwtCompatible
public final class KeyComparator<T,C extends java.lang.Comparable<? super C>>
extends java.lang.Object
implements java.util.Comparator<T>
| Constructor and Description |
|---|
KeyComparator(Functions.Function1<? super T,C> keyFunction) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T a,
T b) |