Record Class LintulFunctions.NNIINDXResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul5.LintulFunctions.NNIINDXResult
- Enclosing class:
- LintulFunctions
public static record LintulFunctions.NNIINDXResult(double NNI, double PNI, double KNI, double NPKI)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionNNIINDXResult(double NNI, double PNI, double KNI, double NPKI) Creates an instance of aNNIINDXResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleKNI()Returns the value of theKNIrecord component.doubleNNI()Returns the value of theNNIrecord component.doubleNPKI()Returns the value of theNPKIrecord component.doublePNI()Returns the value of thePNIrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NNIINDXResult
public NNIINDXResult(double NNI, double PNI, double KNI, double NPKI) Creates an instance of aNNIINDXResultrecord class.- Parameters:
NNI- the value for theNNIrecord componentPNI- the value for thePNIrecord componentKNI- the value for theKNIrecord componentNPKI- the value for theNPKIrecord 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. All components in this record class are compared with '=='. -
NNI
public double NNI()Returns the value of theNNIrecord component.- Returns:
- the value of the
NNIrecord component
-
PNI
public double PNI()Returns the value of thePNIrecord component.- Returns:
- the value of the
PNIrecord component
-
KNI
public double KNI()Returns the value of theKNIrecord component.- Returns:
- the value of the
KNIrecord component
-
NPKI
public double NPKI()Returns the value of theNPKIrecord component.- Returns:
- the value of the
NPKIrecord component
-