Record Class OryzaFunctions.SHRINK
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.SHRINK
- Enclosing class:
- OryzaFunctions
public static record OryzaFunctions.SHRINK(double WCL, double TOTPOR, double VL, double WLLOW)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSHRINK(double WCL, double TOTPOR, double VL, double WLLOW) Creates an instance of aSHRINKrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.doubleTOTPOR()Returns the value of theTOTPORrecord component.doubleVL()Returns the value of theVLrecord component.doubleWCL()Returns the value of theWCLrecord component.doubleWLLOW()Returns the value of theWLLOWrecord component.
-
Constructor Details
-
SHRINK
public SHRINK(double WCL, double TOTPOR, double VL, double WLLOW) Creates an instance of aSHRINKrecord class.- Parameters:
WCL- the value for theWCLrecord componentTOTPOR- the value for theTOTPORrecord componentVL- the value for theVLrecord componentWLLOW- the value for theWLLOWrecord 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 '=='. -
WCL
public double WCL()Returns the value of theWCLrecord component.- Returns:
- the value of the
WCLrecord component
-
TOTPOR
public double TOTPOR()Returns the value of theTOTPORrecord component.- Returns:
- the value of the
TOTPORrecord component
-
VL
public double VL()Returns the value of theVLrecord component.- Returns:
- the value of the
VLrecord component
-
WLLOW
public double WLLOW()Returns the value of theWLLOWrecord component.- Returns:
- the value of the
WLLOWrecord component
-