Record Class OryzaFunctions.SUBGREC
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.SUBGREC
- Enclosing class:
- OryzaFunctions
public static record OryzaFunctions.SUBGREC(double NUFG, double NPFG, double NCFT, double WGRPF, double WRREC, double NECG)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSUBGREC(double NUFG, double NPFG, double NCFT, double WGRPF, double WRREC, double NECG) Creates an instance of aSUBGRECrecord 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.doubleNCFT()Returns the value of theNCFTrecord component.doubleNECG()Returns the value of theNECGrecord component.doubleNPFG()Returns the value of theNPFGrecord component.doubleNUFG()Returns the value of theNUFGrecord component.final StringtoString()Returns a string representation of this record class.doubleWGRPF()Returns the value of theWGRPFrecord component.doubleWRREC()Returns the value of theWRRECrecord component.
-
Constructor Details
-
SUBGREC
public SUBGREC(double NUFG, double NPFG, double NCFT, double WGRPF, double WRREC, double NECG) Creates an instance of aSUBGRECrecord class.- Parameters:
NUFG- the value for theNUFGrecord componentNPFG- the value for theNPFGrecord componentNCFT- the value for theNCFTrecord componentWGRPF- the value for theWGRPFrecord componentWRREC- the value for theWRRECrecord componentNECG- the value for theNECGrecord 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 '=='. -
NUFG
public double NUFG()Returns the value of theNUFGrecord component.- Returns:
- the value of the
NUFGrecord component
-
NPFG
public double NPFG()Returns the value of theNPFGrecord component.- Returns:
- the value of the
NPFGrecord component
-
NCFT
public double NCFT()Returns the value of theNCFTrecord component.- Returns:
- the value of the
NCFTrecord component
-
WGRPF
public double WGRPF()Returns the value of theWGRPFrecord component.- Returns:
- the value of the
WGRPFrecord component
-
WRREC
public double WRREC()Returns the value of theWRRECrecord component.- Returns:
- the value of the
WRRECrecord component
-
NECG
public double NECG()Returns the value of theNECGrecord component.- Returns:
- the value of the
NECGrecord component
-