Record Class OryzaFunctions.SUBGRN
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.SUBGRN
- Enclosing class:
- OryzaFunctions
public static record OryzaFunctions.SUBGRN(double GRAINS, double COLDTT, double TFERT, double NTFERT, double SF1, double SF2, double SPFERT, double GNSP, double GNGR)
extends Record
-
Constructor Summary
ConstructorDescriptionSUBGRN
(double GRAINS, double COLDTT, double TFERT, double NTFERT, double SF1, double SF2, double SPFERT, double GNSP, double GNGR) Creates an instance of aSUBGRN
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
COLDTT()
Returns the value of theCOLDTT
record component.final boolean
Indicates whether some other object is "equal to" this one.double
GNGR()
Returns the value of theGNGR
record component.double
GNSP()
Returns the value of theGNSP
record component.double
GRAINS()
Returns the value of theGRAINS
record component.final int
hashCode()
Returns a hash code value for this object.double
NTFERT()
Returns the value of theNTFERT
record component.double
SF1()
Returns the value of theSF1
record component.double
SF2()
Returns the value of theSF2
record component.double
SPFERT()
Returns the value of theSPFERT
record component.double
TFERT()
Returns the value of theTFERT
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SUBGRN
public SUBGRN(double GRAINS, double COLDTT, double TFERT, double NTFERT, double SF1, double SF2, double SPFERT, double GNSP, double GNGR) Creates an instance of aSUBGRN
record class.- Parameters:
GRAINS
- the value for theGRAINS
record componentCOLDTT
- the value for theCOLDTT
record componentTFERT
- the value for theTFERT
record componentNTFERT
- the value for theNTFERT
record componentSF1
- the value for theSF1
record componentSF2
- the value for theSF2
record componentSPFERT
- the value for theSPFERT
record componentGNSP
- the value for theGNSP
record componentGNGR
- the value for theGNGR
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 '=='. -
GRAINS
public double GRAINS()Returns the value of theGRAINS
record component.- Returns:
- the value of the
GRAINS
record component
-
COLDTT
public double COLDTT()Returns the value of theCOLDTT
record component.- Returns:
- the value of the
COLDTT
record component
-
TFERT
public double TFERT()Returns the value of theTFERT
record component.- Returns:
- the value of the
TFERT
record component
-
NTFERT
public double NTFERT()Returns the value of theNTFERT
record component.- Returns:
- the value of the
NTFERT
record component
-
SF1
public double SF1()Returns the value of theSF1
record component.- Returns:
- the value of the
SF1
record component
-
SF2
public double SF2()Returns the value of theSF2
record component.- Returns:
- the value of the
SF2
record component
-
SPFERT
public double SPFERT()Returns the value of theSPFERT
record component.- Returns:
- the value of the
SPFERT
record component
-
GNSP
public double GNSP()Returns the value of theGNSP
record component.- Returns:
- the value of the
GNSP
record component
-
GNGR
public double GNGR()Returns the value of theGNGR
record component.- Returns:
- the value of the
GNGR
record component
-