Class OrderComparator

java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.util.OrderComparator
All Implemented Interfaces:
Comparator<BindingSet>

public class OrderComparator extends Object implements Comparator<BindingSet>
A 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.
Author:
James Leigh, Jeen Broekstra