Class StatisticalRuleHelper
- java.lang.Object
-
- net.sourceforge.pmd.lang.rule.stat.StatisticalRuleHelper
-
public class StatisticalRuleHelper extends java.lang.Object
This class is used to implement the core logic of a StatisticalRule. Concrete Rule implementations should delegate to an instance of this class.- Author:
- David Dixon-Peugh Aug 8, 2002 StatisticalRule.java
-
-
Field Summary
Fields Modifier and Type Field Description static double
DELTA
-
Constructor Summary
Constructors Constructor Description StatisticalRuleHelper(AbstractRule rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDataPoint(DataPoint point)
void
apply(RuleContext ctx)
-
-
-
Field Detail
-
DELTA
public static final double DELTA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StatisticalRuleHelper
public StatisticalRuleHelper(AbstractRule rule)
-
-
Method Detail
-
addDataPoint
public void addDataPoint(DataPoint point)
-
apply
public void apply(RuleContext ctx)
-
-