Record Class LintulFunctions.PENMANResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul5.LintulFunctions.PENMANResult
- Enclosing class:
- LintulFunctions
-
Constructor Summary
ConstructorsConstructorDescriptionPENMANResult(double E0, double ES0, double ETC) Creates an instance of aPENMANResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleE0()Returns the value of theE0record component.final booleanIndicates whether some other object is "equal to" this one.doubleES0()Returns the value of theES0record component.doubleETC()Returns the value of theETCrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PENMANResult
public PENMANResult(double E0, double ES0, double ETC) Creates an instance of aPENMANResultrecord class.- Parameters:
E0- the value for theE0record componentES0- the value for theES0record componentETC- the value for theETCrecord 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 '=='. -
E0
public double E0()Returns the value of theE0record component.- Returns:
- the value of the
E0record component
-
ES0
public double ES0()Returns the value of theES0record component.- Returns:
- the value of the
ES0record component
-
ETC
public double ETC()Returns the value of theETCrecord component.- Returns:
- the value of the
ETCrecord component
-