All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ontology2.bakemono.jena.NodeComparator Maven / Gradle / Ivy

There is a newer version: 3.2
Show newest version
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);
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy