Exemple #1
0
 @Override
 public int compareTo(Constraint other) {
   if (this == other) {
     return 0;
   }
   int thisType = getConstraintTypeOrder();
   int otherType = other.getConstraintTypeOrder();
   return thisType - otherType;
 }