Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protege.ui
Class ReferenceComparator

    java.lang.Object
      edu.stanford.smi.protege.ui.ReferenceComparator

All Implemented Interfaces:
  Comparator<Reference>

    public class ReferenceComparator

extends Object
implements Comparator<Reference>

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(Reference r1, Reference r2)`

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(Reference r1,
                       Reference r2)

  Specified by:
    `compare` in interface `Comparator<Reference>`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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