@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 Form| Constructor 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, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Rule rule1, Rule rule2)
compare in interface Comparator<Rule>Copyright © 2016. All rights reserved.