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 Constructor Description WeightComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(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, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
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>
-
-