Class MetricValueImpl

  • All Implemented Interfaces:
    MetricValue

    public final class MetricValueImpl
    extends java.lang.Object
    implements MetricValue
    • Constructor Summary

      Constructors 
      Constructor Description
      MetricValueImpl​(double value, double score, Metric metric)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Metric getMetric()
      Gets the Metric.
      double getScore()
      Gets the current confidence score.
      double getValue()
      Gets the current value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MetricValueImpl

        public MetricValueImpl​(double value,
                               double score,
                               Metric metric)
    • Method Detail

      • getScore

        public double getScore()
        Description copied from interface: MetricValue
        Gets the current confidence score.
        Specified by:
        getScore in interface MetricValue
        Returns:
        the score.
      • getValue

        public double getValue()
        Description copied from interface: MetricValue
        Gets the current value.
        Specified by:
        getValue in interface MetricValue
        Returns:
        the value.