public class TermIVComparator extends Object implements Comparator<BigdataValue>
BigdataValue
s into an ordering determined by their assigned
IVs
(internal values).BigdataValue.getIV()
Modifier and Type | Field and Description |
---|---|
static Comparator<BigdataValue> |
INSTANCE |
Constructor and Description |
---|
TermIVComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(BigdataValue term1,
BigdataValue term2)
Note: comparison avoids possible overflow of
long by
not computing the difference directly. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public static final transient Comparator<BigdataValue> INSTANCE
public int compare(BigdataValue term1, BigdataValue term2)
long
by
not computing the difference directly.compare
in interface Comparator<BigdataValue>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.