public class ResolvingComparator<I,O> extends Object implements Comparator<I>
Constructor and Description |
---|
ResolvingComparator(java.util.function.Function<I,O> resolver,
Comparator<O> comparator) |
Modifier and Type | Method and Description |
---|---|
int |
compare(I o1,
I o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ResolvingComparator(java.util.function.Function<I,O> resolver, Comparator<O> comparator)
public int compare(I o1, I o2)
compare
in interface Comparator<I>
Copyright © 2002-2015 Atlassian. All Rights Reserved.