Record Class LintulFunctions.GROWTHResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul5.LintulFunctions.GROWTHResult
- Enclosing class:
- LintulFunctions
public static record LintulFunctions.GROWTHResult(double PARINT, double FINT, double GRT, double PGRT)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGROWTHResult(double PARINT, double FINT, double GRT, double PGRT) Creates an instance of aGROWTHResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.doubleFINT()Returns the value of theFINTrecord component.doubleGRT()Returns the value of theGRTrecord component.final inthashCode()Returns a hash code value for this object.doublePARINT()Returns the value of thePARINTrecord component.doublePGRT()Returns the value of thePGRTrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GROWTHResult
public GROWTHResult(double PARINT, double FINT, double GRT, double PGRT) Creates an instance of aGROWTHResultrecord class.- Parameters:
PARINT- the value for thePARINTrecord componentFINT- the value for theFINTrecord componentGRT- the value for theGRTrecord componentPGRT- the value for thePGRTrecord 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 '=='. -
PARINT
public double PARINT()Returns the value of thePARINTrecord component.- Returns:
- the value of the
PARINTrecord component
-
FINT
public double FINT()Returns the value of theFINTrecord component.- Returns:
- the value of the
FINTrecord component
-
GRT
public double GRT()Returns the value of theGRTrecord component.- Returns:
- the value of the
GRTrecord component
-
PGRT
public double PGRT()Returns the value of thePGRTrecord component.- Returns:
- the value of the
PGRTrecord component
-