public final class FunctionComparator<A,B> extends Object implements Comparator<A>, Serializable
| Constructor and Description | 
|---|
| FunctionComparator(Function<A,B> function,
                  Comparator<B> comparator) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(A first,
       A second) | 
| Comparator<B> | getComparator() | 
| Function<A,B> | getFunction() | 
| 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 FunctionComparator(Function<A,B> function, Comparator<B> comparator)
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.