org.eclipse.xtext.mwe
Class Validator.MWEDiagnosticComparator
java.lang.Object
org.eclipse.xtext.mwe.Validator.MWEDiagnosticComparator
- All Implemented Interfaces:
- java.util.Comparator<org.eclipse.emf.mwe.core.issues.MWEDiagnostic>
- Enclosing class:
- Validator
public static class Validator.MWEDiagnosticComparator
- extends java.lang.Object
- implements java.util.Comparator<org.eclipse.emf.mwe.core.issues.MWEDiagnostic>
Method Summary |
int |
compare(org.eclipse.emf.mwe.core.issues.MWEDiagnostic o1,
org.eclipse.emf.mwe.core.issues.MWEDiagnostic o2)
|
protected java.lang.Integer |
notNull(java.lang.Integer x)
|
protected int |
nullSafeCompare(java.lang.Integer x,
java.lang.Integer y)
|
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 |
Validator.MWEDiagnosticComparator
public Validator.MWEDiagnosticComparator()
compare
public int compare(org.eclipse.emf.mwe.core.issues.MWEDiagnostic o1,
org.eclipse.emf.mwe.core.issues.MWEDiagnostic o2)
- Specified by:
compare
in interface java.util.Comparator<org.eclipse.emf.mwe.core.issues.MWEDiagnostic>
nullSafeCompare
protected int nullSafeCompare(java.lang.Integer x,
java.lang.Integer y)
notNull
protected java.lang.Integer notNull(java.lang.Integer x)