Record Class DiurnalPenman.DiurnalPenmanResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.canopytemperature.DiurnalPenman.DiurnalPenmanResult
- Enclosing class:
- DiurnalPenman
public static record DiurnalPenman.DiurnalPenmanResult(double PTRAN, double PEVAP, double NETRAD)
extends Record
-
Constructor Summary
ConstructorDescriptionDiurnalPenmanResult
(double PTRAN, double PEVAP, double NETRAD) Creates an instance of aDiurnalPenmanResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.double
NETRAD()
Returns the value of theNETRAD
record component.double
PEVAP()
Returns the value of thePEVAP
record component.double
PTRAN()
Returns the value of thePTRAN
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
DiurnalPenmanResult
public DiurnalPenmanResult(double PTRAN, double PEVAP, double NETRAD) Creates an instance of aDiurnalPenmanResult
record class.- Parameters:
PTRAN
- the value for thePTRAN
record componentPEVAP
- the value for thePEVAP
record componentNETRAD
- the value for theNETRAD
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 '=='. -
PTRAN
public double PTRAN()Returns the value of thePTRAN
record component.- Returns:
- the value of the
PTRAN
record component
-
PEVAP
public double PEVAP()Returns the value of thePEVAP
record component.- Returns:
- the value of the
PEVAP
record component
-
NETRAD
public double NETRAD()Returns the value of theNETRAD
record component.- Returns:
- the value of the
NETRAD
record component
-