public class OrderComparator extends Object implements Comparator<BindingSet>, Serializable
Comparator on BindingSets that imposes a total ordering by examining supplied Order
elements (i.e. the elements of an ORDER BY clause), falling back on a custom predictable ordering for BindingSet
elements if no ordering is established on the basis of the Order elements.| Constructor and Description |
|---|
OrderComparator(EvaluationStrategy strategy,
Order order,
ValueComparator vcmp) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(BindingSet o1,
BindingSet o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic OrderComparator(EvaluationStrategy strategy, Order order, ValueComparator vcmp)
public int compare(BindingSet o1, BindingSet o2)
compare in interface Comparator<BindingSet>Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.