Class NodeCmp

java.lang.Object
org.apache.jena.sparql.util.NodeCmp

public class NodeCmp extends Object
  • Constructor Details

    • NodeCmp

      public NodeCmp()
  • Method Details

    • compareRDFTerms

      public static int compareRDFTerms(Node node1, Node node2)
      Compare two Nodes, based on their RDF terms forms, not value
    • compareRDFTermsOLD

      public static int compareRDFTermsOLD(Node node1, Node node2)
      Version of Jena 4.5.0 and earlier. Unstable. Unlike NodeValue.compare, it uses lexical form before lang/datatype.