public class GrammarElementDeclarationOrder extends org.eclipse.emf.common.notify.impl.AdapterImpl implements Comparator<org.eclipse.emf.ecore.EObject>
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.eclipse.emf.ecore.EObject,Integer> |
elementIDCache |
| Modifier | Constructor and Description |
|---|---|
protected |
GrammarElementDeclarationOrder(Grammar grammar) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.eclipse.emf.ecore.EObject o1,
org.eclipse.emf.ecore.EObject o2) |
static GrammarElementDeclarationOrder |
get(Grammar grammar) |
int |
getElementID(org.eclipse.emf.ecore.EObject ele) |
<T> Comparator<T> |
toComparator(com.google.common.base.Function<T,org.eclipse.emf.ecore.EObject> elementAccess) |
getTarget, isAdapterForType, notifyChanged, setTarget, unsetTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsprotected GrammarElementDeclarationOrder(Grammar grammar)
public static GrammarElementDeclarationOrder get(Grammar grammar)
public int compare(org.eclipse.emf.ecore.EObject o1,
org.eclipse.emf.ecore.EObject o2)
compare in interface Comparator<org.eclipse.emf.ecore.EObject>public int getElementID(org.eclipse.emf.ecore.EObject ele)
public <T> Comparator<T> toComparator(com.google.common.base.Function<T,org.eclipse.emf.ecore.EObject> elementAccess)
Copyright © 2015. All Rights Reserved.