public class BindingSetComparator<E> extends Object implements Comparator<IBindingSet>
| Constructor and Description |
|---|
BindingSetComparator(ISortOrder<E>[] sortOrder,
Comparator<E> valueComparator) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(IBindingSet bs1,
IBindingSet bs2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic BindingSetComparator(ISortOrder<E>[] sortOrder, Comparator<E> valueComparator)
sortOrder - The sort order to be imposed. While the ISortOrder is
defined in terms of IValueExpressions, any
IValueExpressions MUST be either bare variables or
constants or be IBinds where the nested
IValueExpression has been computed and bound on the
solutions to be compared by the caller.valueComparator - The comparator used on the values extracted from the
IBindingSets.public int compare(IBindingSet bs1, IBindingSet bs2)
compare in interface Comparator<IBindingSet>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.