Class TripleComparator

java.lang.Object
org.apache.jena.sparql.util.TripleComparator
All Implemented Interfaces:
Comparator<Triple>

@Deprecated public class TripleComparator extends Object implements Comparator<Triple>
Deprecated.
This can be replaced by (n1,n2)->NodeCmp.compareRDFTerms(n1, n2).
This is not sorting by value. It provides total ordering of RDF triples by pairwise comparison of subject/predicate/object.
  • Constructor Details

    • TripleComparator

      public TripleComparator()
      Deprecated.
  • Method Details