com.ontology2.bakemono.jena.NodeComparator Maven / Gradle / Ivy
package com.ontology2.bakemono.jena;
import java.util.Comparator;
import com.hp.hpl.jena.graph.Node;
public class NodeComparator implements Comparator {
@Override
public int compare(Node a, Node b) {
String txtA=a.toString();
String txtB=b.toString();
return txtA.compareTo(txtB);
}
}