Package br.unip.aps.ml
Record Class EstudoPrevisao.Importancia
java.lang.Object
java.lang.Record
br.unip.aps.ml.EstudoPrevisao.Importancia
- All Implemented Interfaces:
Serializable
- Enclosing class:
EstudoPrevisao
public static record EstudoPrevisao.Importancia(String variavel, double aumentoMae)
extends Record
implements Serializable
Importancia por permutacao: aumento do MAE ao embaralhar a variavel.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionImportancia(String variavel, double aumentoMae) Creates an instance of aImportanciarecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of theaumentoMaerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.variavel()Returns the value of thevariavelrecord component.
-
Constructor Details
-
Importancia
Creates an instance of aImportanciarecord class.- Parameters:
variavel- the value for thevariavelrecord componentaumentoMae- the value for theaumentoMaerecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
variavel
Returns the value of thevariavelrecord component.- Returns:
- the value of the
variavelrecord component
-
aumentoMae
public double aumentoMae()Returns the value of theaumentoMaerecord component.- Returns:
- the value of the
aumentoMaerecord component
-