org.eclipse.ocl.examples.pivot.uml
Class ModelAnalysis.ElementComparator

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.uml.ModelAnalysis.ElementComparator
All Implemented Interfaces:
java.util.Comparator<Element>
Enclosing class:
ModelAnalysis

public static class ModelAnalysis.ElementComparator
extends java.lang.Object
implements java.util.Comparator<Element>


Field Summary
static ModelAnalysis.ElementComparator INSTANCE
           
 
Constructor Summary
ModelAnalysis.ElementComparator()
           
 
Method Summary
 int compare(Element o1, Element 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
 

Field Detail

INSTANCE

@NonNull
public static final ModelAnalysis.ElementComparator INSTANCE
Constructor Detail

ModelAnalysis.ElementComparator

public ModelAnalysis.ElementComparator()
Method Detail

compare

public int compare(Element o1,
                   Element o2)
Specified by:
compare in interface java.util.Comparator<Element>