Record Class LintulFunctions.PENMANResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul5.LintulFunctions.PENMANResult
- Enclosing class:
- LintulFunctions
-
Constructor Summary
ConstructorDescriptionPENMANResult
(double E0, double ES0, double ETC) Creates an instance of aPENMANResult
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
E0()
Returns the value of theE0
record component.final boolean
Indicates whether some other object is "equal to" this one.double
ES0()
Returns the value of theES0
record component.double
ETC()
Returns the value of theETC
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PENMANResult
public PENMANResult(double E0, double ES0, double ETC) Creates an instance of aPENMANResult
record class.- Parameters:
E0
- the value for theE0
record componentES0
- the value for theES0
record componentETC
- the value for theETC
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 '=='. -
E0
public double E0()Returns the value of theE0
record component.- Returns:
- the value of the
E0
record component
-
ES0
public double ES0()Returns the value of theES0
record component.- Returns:
- the value of the
ES0
record component
-
ETC
public double ETC()Returns the value of theETC
record component.- Returns:
- the value of the
ETC
record component
-