Protege 2.1.1

edu.stanford.smi.protege.ui
Class FrameSlotPairComparator

java.lang.Object
  extended byedu.stanford.smi.protege.ui.FrameSlotPairComparator
All Implemented Interfaces:
Comparator

public class FrameSlotPairComparator
extends Object
implements Comparator

Comparator for the "frame slot pairs" that are displayed in the template slot window. First the comparison is done on frame names and then on slot names.

Author:
Ray Fergerson

Constructor Summary
FrameSlotPairComparator()
           
 
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

FrameSlotPairComparator

public FrameSlotPairComparator()
Method Detail

compare

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

Protege 2.1.1

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