Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • MWEDiagnosticComparator

        public MWEDiagnosticComparator()
    • Method Detail

      • 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)