Record Class AMPSomFunctions.CorrectedK
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.som.AMPSomFunctions.CorrectedK
- Enclosing class:
- AMPSomFunctions
-
Constructor Summary
-
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[]
Returns the value of theKAdsDomPerLayer
record component.Double[]
Returns the value of theKAdsNecroPerLayer
record component.Double[]
Returns the value of theKDomPerLayer
record component.Double[]
Returns the value of theKNecroPerLayer
record component.Double[]
Returns the value of theKPomPerLayer
record component.Double[]
SoilMass()
Returns the value of theSoilMass
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CorrectedK
public CorrectedK(Double[] SoilMass, Double[] KPomPerLayer, Double[] KDomPerLayer, Double[] KNecroPerLayer, Double[] KAdsDomPerLayer, Double[] KAdsNecroPerLayer) Creates an instance of aCorrectedK
record class.- Parameters:
SoilMass
- the value for theSoilMass
record componentKPomPerLayer
- the value for theKPomPerLayer
record componentKDomPerLayer
- the value for theKDomPerLayer
record componentKNecroPerLayer
- the value for theKNecroPerLayer
record componentKAdsDomPerLayer
- the value for theKAdsDomPerLayer
record componentKAdsNecroPerLayer
- the value for theKAdsNecroPerLayer
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 withObjects::equals(Object,Object)
. -
SoilMass
Returns the value of theSoilMass
record component.- Returns:
- the value of the
SoilMass
record component
-
KPomPerLayer
Returns the value of theKPomPerLayer
record component.- Returns:
- the value of the
KPomPerLayer
record component
-
KDomPerLayer
Returns the value of theKDomPerLayer
record component.- Returns:
- the value of the
KDomPerLayer
record component
-
KNecroPerLayer
Returns the value of theKNecroPerLayer
record component.- Returns:
- the value of the
KNecroPerLayer
record component
-
KAdsDomPerLayer
Returns the value of theKAdsDomPerLayer
record component.- Returns:
- the value of the
KAdsDomPerLayer
record component
-
KAdsNecroPerLayer
Returns the value of theKAdsNecroPerLayer
record component.- Returns:
- the value of the
KAdsNecroPerLayer
record component
-