@Immutable public final class RuleComparator extends Object implements Comparator<Rule>, Serializable
Rule.getLabelCount()
is the
prevailing rule. An exception rule is always the prevailing rule.Rule.isExceptionRule()
,
Rule.getLabelCount()
,
Donations,
Serialized FormConstructor and Description |
---|
RuleComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Rule rule1,
Rule rule2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Rule rule1, Rule rule2)
compare
in interface Comparator<Rule>
Copyright © 2016. All rights reserved.