public class OrderComparator extends Object implements Comparator<BindingSet>, Serializable
Comparator
on BindingSet
s 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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public OrderComparator(EvaluationStrategy strategy, Order order, ValueComparator vcmp)
public int compare(BindingSet o1, BindingSet o2)
compare
in interface Comparator<BindingSet>
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.