public final class ModelElementNameComparator extends Object implements Comparator<org.eclipse.emf.ecore.ENamedElement>
EMF model elements
by their
name
Modifier and Type | Field and Description |
---|---|
static Comparator<org.eclipse.emf.ecore.ENamedElement> |
INSTANCE
A comparator comparing case-sensitively
|
static Comparator<org.eclipse.emf.ecore.ENamedElement> |
INSTANCE_IGNORING_CASE
A comparator comparing case-insensitively, i.e.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(org.eclipse.emf.ecore.ENamedElement o1,
org.eclipse.emf.ecore.ENamedElement o2) |
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final Comparator<org.eclipse.emf.ecore.ENamedElement> INSTANCE
public static final Comparator<org.eclipse.emf.ecore.ENamedElement> INSTANCE_IGNORING_CASE
public int compare(org.eclipse.emf.ecore.ENamedElement o1, org.eclipse.emf.ecore.ENamedElement o2)
compare
in interface Comparator<org.eclipse.emf.ecore.ENamedElement>
Comparator.compare(Object, Object)