Record Class AMPSomFunctions.CorrectedK
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.som.AMPSomFunctions.CorrectedK
- Enclosing class:
- AMPSomFunctions
-
Constructor Summary
Constructors -
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.Double[]Returns the value of theKAdsDomPerLayerrecord component.Double[]Returns the value of theKAdsNecroPerLayerrecord component.Double[]Returns the value of theKDomPerLayerrecord component.Double[]Returns the value of theKNecroPerLayerrecord component.Double[]Returns the value of theKPomPerLayerrecord component.Double[]SoilMass()Returns the value of theSoilMassrecord component.final StringtoString()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 aCorrectedKrecord class.- Parameters:
SoilMass- the value for theSoilMassrecord componentKPomPerLayer- the value for theKPomPerLayerrecord componentKDomPerLayer- the value for theKDomPerLayerrecord componentKNecroPerLayer- the value for theKNecroPerLayerrecord componentKAdsDomPerLayer- the value for theKAdsDomPerLayerrecord componentKAdsNecroPerLayer- the value for theKAdsNecroPerLayerrecord 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 theSoilMassrecord component.- Returns:
- the value of the
SoilMassrecord component
-
KPomPerLayer
Returns the value of theKPomPerLayerrecord component.- Returns:
- the value of the
KPomPerLayerrecord component
-
KDomPerLayer
Returns the value of theKDomPerLayerrecord component.- Returns:
- the value of the
KDomPerLayerrecord component
-
KNecroPerLayer
Returns the value of theKNecroPerLayerrecord component.- Returns:
- the value of the
KNecroPerLayerrecord component
-
KAdsDomPerLayer
Returns the value of theKAdsDomPerLayerrecord component.- Returns:
- the value of the
KAdsDomPerLayerrecord component
-
KAdsNecroPerLayer
Returns the value of theKAdsNecroPerLayerrecord component.- Returns:
- the value of the
KAdsNecroPerLayerrecord component
-