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
ConstructorDescriptionGROWTHResult
(double PARINT, double FINT, double GRT, double PGRT) Creates an instance of aGROWTHResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.double
FINT()
Returns the value of theFINT
record component.double
GRT()
Returns the value of theGRT
record component.final int
hashCode()
Returns a hash code value for this object.double
PARINT()
Returns the value of thePARINT
record component.double
PGRT()
Returns the value of thePGRT
record component.final String
toString()
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 aGROWTHResult
record class.- Parameters:
PARINT
- the value for thePARINT
record componentFINT
- the value for theFINT
record componentGRT
- the value for theGRT
record componentPGRT
- the value for thePGRT
record 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 thePARINT
record component.- Returns:
- the value of the
PARINT
record component
-
FINT
public double FINT()Returns the value of theFINT
record component.- Returns:
- the value of the
FINT
record component
-
GRT
public double GRT()Returns the value of theGRT
record component.- Returns:
- the value of the
GRT
record component
-
PGRT
public double PGRT()Returns the value of thePGRT
record component.- Returns:
- the value of the
PGRT
record component
-