Record Class LintulCassavaFunctions.DEATHLCassavaResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul5.extended.cassava.LintulCassavaFunctions.DEATHLCassavaResult
- Enclosing class:
- LintulCassavaFunctions
public static record LintulCassavaFunctions.DEATHLCassavaResult(double DLV, double DLAI, double RDR, double DeadLeavesReallocationRate)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDEATHLCassavaResult(double DLV, double DLAI, double RDR, double DeadLeavesReallocationRate) Creates an instance of aDEATHLCassavaResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of theDeadLeavesReallocationRaterecord component.doubleDLAI()Returns the value of theDLAIrecord component.doubleDLV()Returns the value of theDLVrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleRDR()Returns the value of theRDRrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DEATHLCassavaResult
public DEATHLCassavaResult(double DLV, double DLAI, double RDR, double DeadLeavesReallocationRate) Creates an instance of aDEATHLCassavaResultrecord class.- Parameters:
DLV- the value for theDLVrecord componentDLAI- the value for theDLAIrecord componentRDR- the value for theRDRrecord componentDeadLeavesReallocationRate- the value for theDeadLeavesReallocationRaterecord 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 '=='. -
DLV
public double DLV()Returns the value of theDLVrecord component.- Returns:
- the value of the
DLVrecord component
-
DLAI
public double DLAI()Returns the value of theDLAIrecord component.- Returns:
- the value of the
DLAIrecord component
-
RDR
public double RDR()Returns the value of theRDRrecord component.- Returns:
- the value of the
RDRrecord component
-
DeadLeavesReallocationRate
public double DeadLeavesReallocationRate()Returns the value of theDeadLeavesReallocationRaterecord component.- Returns:
- the value of the
DeadLeavesReallocationRaterecord component
-