Record Class OryzaFunctions.NCROP

java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.NCROP
Enclosing class:
OryzaFunctions

public static record OryzaFunctions.NCROP(double NSO, double NLV, double NST, double NLDLV, double NLVAN, double NSTAN, double NALV, double NAST, double NASO, double NTRT) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    NCROP(double NSO, double NLV, double NST, double NLDLV, double NLVAN, double NSTAN, double NALV, double NAST, double NASO, double NTRT)
    Creates an instance of a NCROP record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    double
    Returns the value of the NALV record component.
    double
    Returns the value of the NASO record component.
    double
    Returns the value of the NAST record component.
    double
    Returns the value of the NLDLV record component.
    double
    NLV()
    Returns the value of the NLV record component.
    double
    Returns the value of the NLVAN record component.
    double
    NSO()
    Returns the value of the NSO record component.
    double
    NST()
    Returns the value of the NST record component.
    double
    Returns the value of the NSTAN record component.
    double
    Returns the value of the NTRT record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NCROP

      public NCROP(double NSO, double NLV, double NST, double NLDLV, double NLVAN, double NSTAN, double NALV, double NAST, double NASO, double NTRT)
      Creates an instance of a NCROP record class.
      Parameters:
      NSO - the value for the NSO record component
      NLV - the value for the NLV record component
      NST - the value for the NST record component
      NLDLV - the value for the NLDLV record component
      NLVAN - the value for the NLVAN record component
      NSTAN - the value for the NSTAN record component
      NALV - the value for the NALV record component
      NAST - the value for the NAST record component
      NASO - the value for the NASO record component
      NTRT - the value for the NTRT 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 '=='.
      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.
    • NSO

      public double NSO()
      Returns the value of the NSO record component.
      Returns:
      the value of the NSO record component
    • NLV

      public double NLV()
      Returns the value of the NLV record component.
      Returns:
      the value of the NLV record component
    • NST

      public double NST()
      Returns the value of the NST record component.
      Returns:
      the value of the NST record component
    • NLDLV

      public double NLDLV()
      Returns the value of the NLDLV record component.
      Returns:
      the value of the NLDLV record component
    • NLVAN

      public double NLVAN()
      Returns the value of the NLVAN record component.
      Returns:
      the value of the NLVAN record component
    • NSTAN

      public double NSTAN()
      Returns the value of the NSTAN record component.
      Returns:
      the value of the NSTAN record component
    • NALV

      public double NALV()
      Returns the value of the NALV record component.
      Returns:
      the value of the NALV record component
    • NAST

      public double NAST()
      Returns the value of the NAST record component.
      Returns:
      the value of the NAST record component
    • NASO

      public double NASO()
      Returns the value of the NASO record component.
      Returns:
      the value of the NASO record component
    • NTRT

      public double NTRT()
      Returns the value of the NTRT record component.
      Returns:
      the value of the NTRT record component