|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infai.emo.matcher.Comparator
org.infai.emo.matcher.ElementComparator
org.infai.emo.matcher.impl.ReferenceComparator
public class ReferenceComparator
Class for comparing the references of two elements.
This comparator needs a matching from a previous round for computing matching-values of the referenced elements.
ElementComparator
Constructor Summary | |
---|---|
ReferenceComparator()
|
Method Summary | |
---|---|
double |
compareTo(org.eclipse.emf.ecore.EObject leftElement,
org.eclipse.emf.ecore.EObject rightElement)
compare the references of the given elements. |
Methods inherited from class org.infai.emo.matcher.Comparator |
---|
getName, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReferenceComparator()
Method Detail |
---|
public double compareTo(org.eclipse.emf.ecore.EObject leftElement, org.eclipse.emf.ecore.EObject rightElement)
compareTo
in class Comparator
leftElement
- the left element of the comparisonrightElement
- the right element of the comparison
EObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |