org.eclipse.ocl.examples.domain.utilities
Class DomainUtil.ENamedElementComparator

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.utilities.DomainUtil.ENamedElementComparator
All Implemented Interfaces:
java.util.Comparator<org.eclipse.emf.ecore.ENamedElement>
Enclosing class:
DomainUtil

public static final class DomainUtil.ENamedElementComparator
extends java.lang.Object
implements java.util.Comparator<org.eclipse.emf.ecore.ENamedElement>


Field Summary
static DomainUtil.ENamedElementComparator INSTANCE
           
 
Constructor Summary
DomainUtil.ENamedElementComparator()
           
 
Method Summary
 int compare(org.eclipse.emf.ecore.ENamedElement o1, org.eclipse.emf.ecore.ENamedElement 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 DomainUtil.ENamedElementComparator INSTANCE
Constructor Detail

DomainUtil.ENamedElementComparator

public DomainUtil.ENamedElementComparator()
Method Detail

compare

public int compare(org.eclipse.emf.ecore.ENamedElement o1,
                   org.eclipse.emf.ecore.ENamedElement o2)
Specified by:
compare in interface java.util.Comparator<org.eclipse.emf.ecore.ENamedElement>