Interface AnalyzerDecision<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default int compareTo​(AnalyzerDecision<T> other)
      If compared with objects of the same class the comparison is based on the value returned by getConfidence() (high values first) otherwise based on the name of the class.
      Return 0 for Decisions which are equal.
      T get()
      Return the instance (the "value") of the AnalyzerDecision.
      double getConfidence()
      Returns the confidence for this decision.
      By contract the valid range for confidence is 0 to 100 (a percent value).
    • Method Detail

      • get

        T get()
        Return the instance (the "value") of the AnalyzerDecision.
        Returns:
        the value of this AnalyzerDecision
        Since:
        11.15
      • getConfidence

        double getConfidence()
        Returns the confidence for this decision.
        By contract the valid range for confidence is 0 to 100 (a percent value).
        Returns:
        the confidence value for this AnalyzerDecision as double
        Since:
        11.15
      • compareTo

        default int compareTo​(AnalyzerDecision<T> other)
        If compared with objects of the same class the comparison is based on the value returned by getConfidence() (high values first) otherwise based on the name of the class.
        Return 0 for Decisions which are equal.
        Specified by:
        compareTo in interface java.lang.Comparable<T>
        Since:
        11.15