Record Class OryzaFunctions.WSTRESS

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

public static record OryzaFunctions.WSTRESS(double TRW, Double[] TRWL, double LRSTRS, double LDSTRS, double LESTRS, double PCEW, double CPEW) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    WSTRESS(double TRW, Double[] TRWL, double LRSTRS, double LDSTRS, double LESTRS, double PCEW, double CPEW)
    Creates an instance of a WSTRESS record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the value of the CPEW record component.
    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 LDSTRS record component.
    double
    Returns the value of the LESTRS record component.
    double
    Returns the value of the LRSTRS record component.
    double
    Returns the value of the PCEW record component.
    final String
    Returns a string representation of this record class.
    double
    TRW()
    Returns the value of the TRW record component.
    Returns the value of the TRWL record component.

    Methods inherited from class java.lang.Object

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

    • WSTRESS

      public WSTRESS(double TRW, Double[] TRWL, double LRSTRS, double LDSTRS, double LESTRS, double PCEW, double CPEW)
      Creates an instance of a WSTRESS record class.
      Parameters:
      TRW - the value for the TRW record component
      TRWL - the value for the TRWL record component
      LRSTRS - the value for the LRSTRS record component
      LDSTRS - the value for the LDSTRS record component
      LESTRS - the value for the LESTRS record component
      PCEW - the value for the PCEW record component
      CPEW - the value for the CPEW 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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • TRW

      public double TRW()
      Returns the value of the TRW record component.
      Returns:
      the value of the TRW record component
    • TRWL

      public Double[] TRWL()
      Returns the value of the TRWL record component.
      Returns:
      the value of the TRWL record component
    • LRSTRS

      public double LRSTRS()
      Returns the value of the LRSTRS record component.
      Returns:
      the value of the LRSTRS record component
    • LDSTRS

      public double LDSTRS()
      Returns the value of the LDSTRS record component.
      Returns:
      the value of the LDSTRS record component
    • LESTRS

      public double LESTRS()
      Returns the value of the LESTRS record component.
      Returns:
      the value of the LESTRS record component
    • PCEW

      public double PCEW()
      Returns the value of the PCEW record component.
      Returns:
      the value of the PCEW record component
    • CPEW

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