public class MatchComparator
extends java.lang.Object
implements java.util.Comparator<org.eclipse.viatra.query.runtime.api.IPatternMatch>
Constructor and Description |
---|
MatchComparator(org.eclipse.viatra.query.runtime.api.ViatraQueryMatcher<org.eclipse.viatra.query.runtime.api.IPatternMatch> matcher,
java.lang.String clazz,
java.lang.String attribute,
boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(org.eclipse.viatra.query.runtime.api.IPatternMatch match1,
org.eclipse.viatra.query.runtime.api.IPatternMatch match2) |