Package org.kie.dmn.ruleset2dmn
Class WeightComparator
java.lang.Object
org.kie.dmn.ruleset2dmn.WeightComparator
- All Implemented Interfaces:
Comparator<org.dmg.pmml.rule_set.SimpleRule>
public class WeightComparator
extends Object
implements Comparator<org.dmg.pmml.rule_set.SimpleRule>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(org.dmg.pmml.rule_set.SimpleRule o1, org.dmg.pmml.rule_set.SimpleRule o2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
WeightComparator
public WeightComparator()
-
-
Method Details
-
compare
public int compare(org.dmg.pmml.rule_set.SimpleRule o1, org.dmg.pmml.rule_set.SimpleRule o2) - Specified by:
comparein interfaceComparator<org.dmg.pmml.rule_set.SimpleRule>
-