Class BoundedDouble

Object
org.apache.spark.partial.BoundedDouble

public class BoundedDouble extends Object
A Double value with error bars and associated confidence.
  • Constructor Details

    • BoundedDouble

      public BoundedDouble(double mean, double confidence, double low, double high)
  • Method Details

    • confidence

      public double confidence()
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
      Parameters:
      that - (undocumented)
      Returns:
      (undocumented)
      Note:
      Consistent with Double, any NaN value will make equality false
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • high

      public double high()
    • low

      public double low()
    • mean

      public double mean()
    • toString

      public String toString()
      Overrides:
      toString in class Object