public class OrderComparator extends Object implements Comparator<org.eclipse.rdf4j.query.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,
org.eclipse.rdf4j.query.algebra.Order order,
ValueComparator vcmp) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.eclipse.rdf4j.query.BindingSet o1,
org.eclipse.rdf4j.query.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, org.eclipse.rdf4j.query.algebra.Order order, ValueComparator vcmp)
public int compare(org.eclipse.rdf4j.query.BindingSet o1,
org.eclipse.rdf4j.query.BindingSet o2)
compare in interface Comparator<org.eclipse.rdf4j.query.BindingSet>Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.