Record Class LintulFastFunctions.DRUNIRResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintulfast.LintulFastFunctions.DRUNIRResult
- Enclosing class:
- LintulFastFunctions
public static record LintulFastFunctions.DRUNIRResult(double DRAIN, double RUNOFF, double IRRIG)
extends Record
-
Constructor Summary
ConstructorDescriptionDRUNIRResult
(double DRAIN, double RUNOFF, double IRRIG) Creates an instance of aDRUNIRResult
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
DRAIN()
Returns the value of theDRAIN
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.double
IRRIG()
Returns the value of theIRRIG
record component.double
RUNOFF()
Returns the value of theRUNOFF
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
DRUNIRResult
public DRUNIRResult(double DRAIN, double RUNOFF, double IRRIG) Creates an instance of aDRUNIRResult
record class.- Parameters:
DRAIN
- the value for theDRAIN
record componentRUNOFF
- the value for theRUNOFF
record componentIRRIG
- the value for theIRRIG
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 '=='. -
DRAIN
public double DRAIN()Returns the value of theDRAIN
record component.- Returns:
- the value of the
DRAIN
record component
-
RUNOFF
public double RUNOFF()Returns the value of theRUNOFF
record component.- Returns:
- the value of the
RUNOFF
record component
-
IRRIG
public double IRRIG()Returns the value of theIRRIG
record component.- Returns:
- the value of the
IRRIG
record component
-