Record Class Lintul2Functions.DRUNIRResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul2.Lintul2Functions.DRUNIRResult
- Enclosing class:
- Lintul2Functions
public static record Lintul2Functions.DRUNIRResult(double DRAIN, double RUNOFF, double IRRIG)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDRUNIRResult(double DRAIN, double RUNOFF, double IRRIG) Creates an instance of aDRUNIRResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleDRAIN()Returns the value of theDRAINrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleIRRIG()Returns the value of theIRRIGrecord component.doubleRUNOFF()Returns the value of theRUNOFFrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DRUNIRResult
public DRUNIRResult(double DRAIN, double RUNOFF, double IRRIG) Creates an instance of aDRUNIRResultrecord class.- Parameters:
DRAIN- the value for theDRAINrecord componentRUNOFF- the value for theRUNOFFrecord componentIRRIG- the value for theIRRIGrecord 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 theDRAINrecord component.- Returns:
- the value of the
DRAINrecord component
-
RUNOFF
public double RUNOFF()Returns the value of theRUNOFFrecord component.- Returns:
- the value of the
RUNOFFrecord component
-
IRRIG
public double IRRIG()Returns the value of theIRRIGrecord component.- Returns:
- the value of the
IRRIGrecord component
-