Record Class LintulCassavaFunctions.DormancyConditionsResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul5.extended.cassava.LintulCassavaFunctions.DormancyConditionsResult
- Enclosing class:
- LintulCassavaFunctions
public static record LintulCassavaFunctions.DormancyConditionsResult(boolean IsDormancy, boolean IsDormancyRecover, boolean IsRedistribution, boolean IsRedistributionEnd)
extends Record
-
Constructor Summary
ConstructorDescriptionDormancyConditionsResult
(boolean IsDormancy, boolean IsDormancyRecover, boolean IsRedistribution, boolean IsRedistributionEnd) Creates an instance of aDormancyConditionsResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theIsDormancy
record component.boolean
Returns the value of theIsDormancyRecover
record component.boolean
Returns the value of theIsRedistribution
record component.boolean
Returns the value of theIsRedistributionEnd
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
DormancyConditionsResult
public DormancyConditionsResult(boolean IsDormancy, boolean IsDormancyRecover, boolean IsRedistribution, boolean IsRedistributionEnd) Creates an instance of aDormancyConditionsResult
record class.- Parameters:
IsDormancy
- the value for theIsDormancy
record componentIsDormancyRecover
- the value for theIsDormancyRecover
record componentIsRedistribution
- the value for theIsRedistribution
record componentIsRedistributionEnd
- the value for theIsRedistributionEnd
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 '=='. -
IsDormancy
public boolean IsDormancy()Returns the value of theIsDormancy
record component.- Returns:
- the value of the
IsDormancy
record component
-
IsDormancyRecover
public boolean IsDormancyRecover()Returns the value of theIsDormancyRecover
record component.- Returns:
- the value of the
IsDormancyRecover
record component
-
IsRedistribution
public boolean IsRedistribution()Returns the value of theIsRedistribution
record component.- Returns:
- the value of the
IsRedistribution
record component
-
IsRedistributionEnd
public boolean IsRedistributionEnd()Returns the value of theIsRedistributionEnd
record component.- Returns:
- the value of the
IsRedistributionEnd
record component
-