gate.gui.ontology
Class OntologyItemComparator

java.lang.Object
  extended by 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

Constructor Summary
OntologyItemComparator()
           
 
Method Summary
 int compare(OResource resource1, OResource resource2)
           
 
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
 

Constructor Detail

OntologyItemComparator

public OntologyItemComparator()
Method Detail

compare

public int compare(OResource resource1,
                   OResource resource2)
Specified by:
compare in interface Comparator<OResource>