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
ConstructorDescriptionSUBGREC
(double NUFG, double NPFG, double NCFT, double WGRPF, double WRREC, double NECG) Creates an instance of aSUBGREC
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.double
NCFT()
Returns the value of theNCFT
record component.double
NECG()
Returns the value of theNECG
record component.double
NPFG()
Returns the value of theNPFG
record component.double
NUFG()
Returns the value of theNUFG
record component.final String
toString()
Returns a string representation of this record class.double
WGRPF()
Returns the value of theWGRPF
record component.double
WRREC()
Returns the value of theWRREC
record component.
-
Constructor Details
-
SUBGREC
public SUBGREC(double NUFG, double NPFG, double NCFT, double WGRPF, double WRREC, double NECG) Creates an instance of aSUBGREC
record class.- Parameters:
NUFG
- the value for theNUFG
record componentNPFG
- the value for theNPFG
record componentNCFT
- the value for theNCFT
record componentWGRPF
- the value for theWGRPF
record componentWRREC
- the value for theWRREC
record componentNECG
- the value for theNECG
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 '=='. -
NUFG
public double NUFG()Returns the value of theNUFG
record component.- Returns:
- the value of the
NUFG
record component
-
NPFG
public double NPFG()Returns the value of theNPFG
record component.- Returns:
- the value of the
NPFG
record component
-
NCFT
public double NCFT()Returns the value of theNCFT
record component.- Returns:
- the value of the
NCFT
record component
-
WGRPF
public double WGRPF()Returns the value of theWGRPF
record component.- Returns:
- the value of the
WGRPF
record component
-
WRREC
public double WRREC()Returns the value of theWRREC
record component.- Returns:
- the value of the
WRREC
record component
-
NECG
public double NECG()Returns the value of theNECG
record component.- Returns:
- the value of the
NECG
record component
-