Package ordering
Class OntologyEntityComparator
java.lang.Object
ordering.OntologyEntityComparator
- All Implemented Interfaces:
Comparator<org.semanticweb.owlapi.model.OWLEntity>
public class OntologyEntityComparator
extends Object
implements Comparator<org.semanticweb.owlapi.model.OWLEntity>
Compares two
OWL entities
using their ID strings.- Author:
- Afonso Caniço, Afonso Sampaio, Gustavo Ferreira, Samuel Correia
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.semanticweb.owlapi.model.OWLEntity o1, org.semanticweb.owlapi.model.OWLEntity o2) Methods inherited from class java.lang.Object
clone, equals, finalize, 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
-
OntologyEntityComparator
public OntologyEntityComparator()
-
-
Method Details
-
compare
public int compare(org.semanticweb.owlapi.model.OWLEntity o1, org.semanticweb.owlapi.model.OWLEntity o2) - Specified by:
compare
in interfaceComparator<org.semanticweb.owlapi.model.OWLEntity>
-