java.lang.Object
org.apache.jena.sparql.util.TripleComparator
- All Implemented Interfaces:
Comparator<Triple>
Deprecated.
This is not sorting by value.
It provides total ordering of RDF triples by pairwise comparison of subject/predicate/object.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
TripleComparator
public TripleComparator()Deprecated.
-
-
Method Details
-
compare
Deprecated.- Specified by:
compare
in interfaceComparator<Triple>
-
(n1,n2)->NodeCmp.compareRDFTerms(n1, n2)
.