|
||||||||||
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.MetaClassComparator
public class MetaClassComparator
Comparator for comparing two elements by testing their metaClasses on equality.
ElementComparator
Constructor Summary | |
---|---|
MetaClassComparator()
|
Method Summary | |
---|---|
double |
compareTo(org.eclipse.emf.ecore.EObject leftElement,
org.eclipse.emf.ecore.EObject rightElement)
Method compares the metaClass-types of both 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 MetaClassComparator()
Method Detail |
---|
public double compareTo(org.eclipse.emf.ecore.EObject leftElement, org.eclipse.emf.ecore.EObject rightElement)
compareTo
in class Comparator
leftElement
- the first element to compare with the second one.rightElement
- the second element to compare with the first one.
EObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |