Record Class AMPSomFunctions.CorrectedK

java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.som.AMPSomFunctions.CorrectedK
Enclosing class:
AMPSomFunctions

public static record AMPSomFunctions.CorrectedK(Double[] SoilMass, Double[] KPomPerLayer, Double[] KDomPerLayer, Double[] KNecroPerLayer, Double[] KAdsDomPerLayer, Double[] KAdsNecroPerLayer) extends Record
  • Constructor Details

    • CorrectedK

      public CorrectedK(Double[] SoilMass, Double[] KPomPerLayer, Double[] KDomPerLayer, Double[] KNecroPerLayer, Double[] KAdsDomPerLayer, Double[] KAdsNecroPerLayer)
      Creates an instance of a CorrectedK record class.
      Parameters:
      SoilMass - the value for the SoilMass record component
      KPomPerLayer - the value for the KPomPerLayer record component
      KDomPerLayer - the value for the KDomPerLayer record component
      KNecroPerLayer - the value for the KNecroPerLayer record component
      KAdsDomPerLayer - the value for the KAdsDomPerLayer record component
      KAdsNecroPerLayer - the value for the KAdsNecroPerLayer record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • SoilMass

      public Double[] SoilMass()
      Returns the value of the SoilMass record component.
      Returns:
      the value of the SoilMass record component
    • KPomPerLayer

      public Double[] KPomPerLayer()
      Returns the value of the KPomPerLayer record component.
      Returns:
      the value of the KPomPerLayer record component
    • KDomPerLayer

      public Double[] KDomPerLayer()
      Returns the value of the KDomPerLayer record component.
      Returns:
      the value of the KDomPerLayer record component
    • KNecroPerLayer

      public Double[] KNecroPerLayer()
      Returns the value of the KNecroPerLayer record component.
      Returns:
      the value of the KNecroPerLayer record component
    • KAdsDomPerLayer

      public Double[] KAdsDomPerLayer()
      Returns the value of the KAdsDomPerLayer record component.
      Returns:
      the value of the KAdsDomPerLayer record component
    • KAdsNecroPerLayer

      public Double[] KAdsNecroPerLayer()
      Returns the value of the KAdsNecroPerLayer record component.
      Returns:
      the value of the KAdsNecroPerLayer record component