Record Class OryzaFunctions.IRRIG
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.IRRIG
- Enclosing class:
- OryzaFunctions
-
Constructor Summary
ConstructorDescriptionIRRIG
(double IR, double WL0CNT) Creates an instance of aIRRIG
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
IR()
Returns the value of theIR
record component.final String
toString()
Returns a string representation of this record class.double
WL0CNT()
Returns the value of theWL0CNT
record component.
-
Constructor Details
-
IRRIG
public IRRIG(double IR, double WL0CNT) Creates an instance of aIRRIG
record class.- Parameters:
IR
- the value for theIR
record componentWL0CNT
- the value for theWL0CNT
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 '=='. -
IR
public double IR()Returns the value of theIR
record component.- Returns:
- the value of the
IR
record component
-
WL0CNT
public double WL0CNT()Returns the value of theWL0CNT
record component.- Returns:
- the value of the
WL0CNT
record component
-