Record Class ConfidenceBandPoint

java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.ConfidenceBandPoint

public record ConfidenceBandPoint(double x, double mean, double ciLower, double ciUpper, Double median, long samples) extends Record
One convergence point with mean and 95% confidence interval bounds.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfidenceBandPoint(double x, double mean, double ciLower, double ciUpper, Double median, long samples)
    Creates an instance of a ConfidenceBandPoint record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the value of the ciLower record component.
    double
    Returns the value of the ciUpper record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    double
    Returns the value of the mean record component.
    Returns the value of the median record component.
    long
    Returns the value of the samples record component.
    final String
    Returns a string representation of this record class.
    double
    x()
    Returns the value of the x record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ConfidenceBandPoint

      public ConfidenceBandPoint(double x, double mean, double ciLower, double ciUpper, Double median, long samples)
      Creates an instance of a ConfidenceBandPoint record class.
      Parameters:
      x - the value for the x record component
      mean - the value for the mean record component
      ciLower - the value for the ciLower record component
      ciUpper - the value for the ciUpper record component
      median - the value for the median record component
      samples - the value for the samples record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • x

      public double x()
      Returns the value of the x record component.
      Returns:
      the value of the x record component
    • mean

      public double mean()
      Returns the value of the mean record component.
      Returns:
      the value of the mean record component
    • ciLower

      public double ciLower()
      Returns the value of the ciLower record component.
      Returns:
      the value of the ciLower record component
    • ciUpper

      public double ciUpper()
      Returns the value of the ciUpper record component.
      Returns:
      the value of the ciUpper record component
    • median

      public Double median()
      Returns the value of the median record component.
      Returns:
      the value of the median record component
    • samples

      public long samples()
      Returns the value of the samples record component.
      Returns:
      the value of the samples record component