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
ConstructorDescriptionDEATHLCassavaResult
(double DLV, double DLAI, double RDR, double DeadLeavesReallocationRate) Creates an instance of aDEATHLCassavaResult
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of theDeadLeavesReallocationRate
record component.double
DLAI()
Returns the value of theDLAI
record component.double
DLV()
Returns the value of theDLV
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.double
RDR()
Returns the value of theRDR
record component.final String
toString()
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 aDEATHLCassavaResult
record class.- Parameters:
DLV
- the value for theDLV
record componentDLAI
- the value for theDLAI
record componentRDR
- the value for theRDR
record componentDeadLeavesReallocationRate
- the value for theDeadLeavesReallocationRate
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 '=='. -
DLV
public double DLV()Returns the value of theDLV
record component.- Returns:
- the value of the
DLV
record component
-
DLAI
public double DLAI()Returns the value of theDLAI
record component.- Returns:
- the value of the
DLAI
record component
-
RDR
public double RDR()Returns the value of theRDR
record component.- Returns:
- the value of the
RDR
record component
-
DeadLeavesReallocationRate
public double DeadLeavesReallocationRate()Returns the value of theDeadLeavesReallocationRate
record component.- Returns:
- the value of the
DeadLeavesReallocationRate
record component
-