Record Class STICSFunctions.Volatilisation
java.lang.Object
java.lang.Record
net.simplace.sim.components.soil.n2o.STICSFunctions.Volatilisation
- Enclosing class:
STICSFunctions
public static record STICSFunctions.Volatilisation(double volatilisationrate, double phrate, double potentialVolatilisationInitial, double potentialVolatilisation, double phrate_max)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionVolatilisation(double volatilisationrate, double phrate, double potentialVolatilisationInitial, double potentialVolatilisation, double phrate_max) Creates an instance of aVolatilisationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublephrate()Returns the value of thephraterecord component.doubleReturns the value of thephrate_maxrecord component.doubleReturns the value of thepotentialVolatilisationrecord component.doubleReturns the value of thepotentialVolatilisationInitialrecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of thevolatilisationraterecord component.
-
Constructor Details
-
Volatilisation
public Volatilisation(double volatilisationrate, double phrate, double potentialVolatilisationInitial, double potentialVolatilisation, double phrate_max) Creates an instance of aVolatilisationrecord class.- Parameters:
volatilisationrate- the value for thevolatilisationraterecord componentphrate- the value for thephraterecord componentpotentialVolatilisationInitial- the value for thepotentialVolatilisationInitialrecord componentpotentialVolatilisation- the value for thepotentialVolatilisationrecord componentphrate_max- the value for thephrate_maxrecord 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 '=='. -
volatilisationrate
public double volatilisationrate()Returns the value of thevolatilisationraterecord component.- Returns:
- the value of the
volatilisationraterecord component
-
phrate
public double phrate()Returns the value of thephraterecord component.- Returns:
- the value of the
phraterecord component
-
potentialVolatilisationInitial
public double potentialVolatilisationInitial()Returns the value of thepotentialVolatilisationInitialrecord component.- Returns:
- the value of the
potentialVolatilisationInitialrecord component
-
potentialVolatilisation
public double potentialVolatilisation()Returns the value of thepotentialVolatilisationrecord component.- Returns:
- the value of the
potentialVolatilisationrecord component
-
phrate_max
public double phrate_max()Returns the value of thephrate_maxrecord component.- Returns:
- the value of the
phrate_maxrecord component
-