Record Class EstudoPrevisao.Intervalo

java.lang.Object
java.lang.Record
br.unip.aps.ml.EstudoPrevisao.Intervalo
All Implemented Interfaces:
Serializable
Enclosing class:
EstudoPrevisao

public static record EstudoPrevisao.Intervalo(double quantil, double meiaLargura, double coberturaEsperada, double coberturaCalibracao, double coberturaTeste, int anoCalibracao, int anoTeste) extends Record implements Serializable
Intervalo de previsao conforme (split conformal).
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Intervalo(double quantil, double meiaLargura, double coberturaEsperada, double coberturaCalibracao, double coberturaTeste, int anoCalibracao, int anoTeste)
    Creates an instance of a Intervalo record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the anoCalibracao record component.
    int
    Returns the value of the anoTeste record component.
    double
    Returns the value of the coberturaCalibracao record component.
    double
    Returns the value of the coberturaEsperada record component.
    double
    Returns the value of the coberturaTeste 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 meiaLargura record component.
    double
    Returns the value of the quantil record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

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

    • Intervalo

      public Intervalo(double quantil, double meiaLargura, double coberturaEsperada, double coberturaCalibracao, double coberturaTeste, int anoCalibracao, int anoTeste)
      Creates an instance of a Intervalo record class.
      Parameters:
      quantil - the value for the quantil record component
      meiaLargura - the value for the meiaLargura record component
      coberturaEsperada - the value for the coberturaEsperada record component
      coberturaCalibracao - the value for the coberturaCalibracao record component
      coberturaTeste - the value for the coberturaTeste record component
      anoCalibracao - the value for the anoCalibracao record component
      anoTeste - the value for the anoTeste 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. All components in this record class are compared with '=='.
      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.
    • quantil

      public double quantil()
      Returns the value of the quantil record component.
      Returns:
      the value of the quantil record component
    • meiaLargura

      public double meiaLargura()
      Returns the value of the meiaLargura record component.
      Returns:
      the value of the meiaLargura record component
    • coberturaEsperada

      public double coberturaEsperada()
      Returns the value of the coberturaEsperada record component.
      Returns:
      the value of the coberturaEsperada record component
    • coberturaCalibracao

      public double coberturaCalibracao()
      Returns the value of the coberturaCalibracao record component.
      Returns:
      the value of the coberturaCalibracao record component
    • coberturaTeste

      public double coberturaTeste()
      Returns the value of the coberturaTeste record component.
      Returns:
      the value of the coberturaTeste record component
    • anoCalibracao

      public int anoCalibracao()
      Returns the value of the anoCalibracao record component.
      Returns:
      the value of the anoCalibracao record component
    • anoTeste

      public int anoTeste()
      Returns the value of the anoTeste record component.
      Returns:
      the value of the anoTeste record component