Record Class OryzaFunctions.NSTRESS
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.NSTRESS
- Enclosing class:
- OryzaFunctions
-
Constructor Summary
ConstructorsConstructorDescriptionNSTRESS(double NSLLV, double RNSTRS) Creates an instance of aNSTRESSrecord class. -
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.doubleNSLLV()Returns the value of theNSLLVrecord component.doubleRNSTRS()Returns the value of theRNSTRSrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NSTRESS
public NSTRESS(double NSLLV, double RNSTRS) Creates an instance of aNSTRESSrecord class.- Parameters:
NSLLV- the value for theNSLLVrecord componentRNSTRS- the value for theRNSTRSrecord 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 with '=='. -
NSLLV
public double NSLLV()Returns the value of theNSLLVrecord component.- Returns:
- the value of the
NSLLVrecord component
-
RNSTRS
public double RNSTRS()Returns the value of theRNSTRSrecord component.- Returns:
- the value of the
RNSTRSrecord component
-