Record Class LintulCCFunctions.WATERBSimpleResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.lintulcc.LintulCCFunctions.WATERBSimpleResult
- Enclosing class:
- LintulCCFunctions
-
Constructor Summary
ConstructorDescriptionWATERBSimpleResult
(double DSF1, double TWPAW) Creates an instance of aWATERBSimpleResult
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
DSF1()
Returns the value of theDSF1
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.double
TWPAW()
Returns the value of theTWPAW
record component.
-
Constructor Details
-
WATERBSimpleResult
public WATERBSimpleResult(double DSF1, double TWPAW) Creates an instance of aWATERBSimpleResult
record class.- Parameters:
DSF1
- the value for theDSF1
record componentTWPAW
- the value for theTWPAW
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 '=='. -
DSF1
public double DSF1()Returns the value of theDSF1
record component.- Returns:
- the value of the
DSF1
record component
-
TWPAW
public double TWPAW()Returns the value of theTWPAW
record component.- Returns:
- the value of the
TWPAW
record component
-