Protege 3.3.1

edu.stanford.smi.protege.ui
Class ReferenceComparator

java.lang.Object
  extended by edu.stanford.smi.protege.ui.FrameComparator
      extended by edu.stanford.smi.protege.ui.ReferenceComparator
All Implemented Interfaces:
Comparator

public class ReferenceComparator
extends FrameComparator

Comparator for instance of the Reference class. The comparsion is done first on slots and then on frames.


Constructor Summary
ReferenceComparator()
           
 
Method Summary
 int compare(Object o1, Object 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
 

Constructor Detail

ReferenceComparator

public ReferenceComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator
Overrides:
compare in class FrameComparator

Protege 3.3.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.