Package net.sourceforge.pmd.stat
Class DataPoint
- java.lang.Object
-
- net.sourceforge.pmd.stat.DataPoint
-
- All Implemented Interfaces:
Comparable<DataPoint>
@Deprecated public class DataPoint extends Object implements Comparable<DataPoint>
Deprecated.seeStatisticalRule
Datapoint used for rules that deal with metrics.- Since:
- Aug 8, 2002
- Author:
- David Dixon-Peugh
-
-
Constructor Summary
Constructors Constructor Description DataPoint()
Deprecated.Constructor for DataPoint.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(DataPoint rhs)
Deprecated.Compares this data point with the given datapoint.String
getMessage()
Deprecated.Node
getNode()
Deprecated.double
getScore()
Deprecated.void
setMessage(String message)
Deprecated.void
setNode(Node node)
Deprecated.void
setScore(double score)
Deprecated.
-
-
-
Method Detail
-
compareTo
public int compareTo(DataPoint rhs)
Deprecated.Compares this data point with the given datapoint.- Specified by:
compareTo
in interfaceComparable<DataPoint>
- Parameters:
rhs
- the other data point- Returns:
- 0 if equal; a value less than 0 if this point's score is smaller than the other data point; a value greater than 0 if this point's score is greater than the other data point.
-
getNode
public Node getNode()
Deprecated.
-
setNode
public void setNode(Node node)
Deprecated.
-
getMessage
public String getMessage()
Deprecated.
-
setMessage
public void setMessage(String message)
Deprecated.
-
getScore
public double getScore()
Deprecated.
-
setScore
public void setScore(double score)
Deprecated.
-
-