1 package org.simantics.scl.compiler.internal.elaboration.constraints;
3 import java.util.Comparator;
5 import org.simantics.scl.compiler.types.util.TypeComparator;
7 enum ConstraintComparator implements Comparator<Constraint> {
11 public int compare(Constraint o1, Constraint o2) {
12 return TypeComparator.INSTANCE.compare(o1.constraint, o2.constraint);