gate.gui.ontology
Class OntologyItemComparator
java.lang.Object
gate.gui.ontology.OntologyItemComparator
- All Implemented Interfaces:
- Comparator<OResource>
public class OntologyItemComparator
- extends Object
- implements Comparator<OResource>
A Comparator that sorts the resources in ontology based on their URIs
- Author:
- niraj
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OntologyItemComparator
public OntologyItemComparator()
compare
public int compare(OResource resource1,
OResource resource2)
- Specified by:
compare in interface Comparator<OResource>