Record Class OryzaFunctions.GPPARGET
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.GPPARGET
- Enclosing class:
- OryzaFunctions
-
Constructor Summary
ConstructorDescriptionGPPARGET
(double AMAX, double EFF) Creates an instance of aGPPARGET
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
AMAX()
Returns the value of theAMAX
record component.double
EFF()
Returns the value of theEFF
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
GPPARGET
public GPPARGET(double AMAX, double EFF) Creates an instance of aGPPARGET
record class.- Parameters:
AMAX
- the value for theAMAX
record componentEFF
- the value for theEFF
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 '=='. -
AMAX
public double AMAX()Returns the value of theAMAX
record component.- Returns:
- the value of the
AMAX
record component
-
EFF
public double EFF()Returns the value of theEFF
record component.- Returns:
- the value of the
EFF
record component
-