public static class Validator.MWEDiagnosticComparator
extends java.lang.Object
implements java.util.Comparator<org.eclipse.emf.mwe.core.issues.MWEDiagnostic>
Constructor and Description |
---|
Validator.MWEDiagnosticComparator() |
Modifier and Type | Method and Description |
---|---|
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) |
public int compare(org.eclipse.emf.mwe.core.issues.MWEDiagnostic o1, org.eclipse.emf.mwe.core.issues.MWEDiagnostic o2)
compare
in interface java.util.Comparator<org.eclipse.emf.mwe.core.issues.MWEDiagnostic>
protected int nullSafeCompare(java.lang.Integer x, java.lang.Integer y)
protected java.lang.Integer notNull(java.lang.Integer x)