Record Class LintulCCFunctions.GLAResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.lintulcc.LintulCCFunctions.GLAResult
- Enclosing class:
- LintulCCFunctions
public static record LintulCCFunctions.GLAResult(double GLAI, double SLA, double TRANSLOC, double TSUMend)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGLAResult(double GLAI, double SLA, double TRANSLOC, double TSUMend) Creates an instance of aGLAResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.doubleGLAI()Returns the value of theGLAIrecord component.final inthashCode()Returns a hash code value for this object.doubleSLA()Returns the value of theSLArecord component.final StringtoString()Returns a string representation of this record class.doubleTRANSLOC()Returns the value of theTRANSLOCrecord component.doubleTSUMend()Returns the value of theTSUMendrecord component.
-
Constructor Details
-
GLAResult
public GLAResult(double GLAI, double SLA, double TRANSLOC, double TSUMend) Creates an instance of aGLAResultrecord class.- Parameters:
GLAI- the value for theGLAIrecord componentSLA- the value for theSLArecord componentTRANSLOC- the value for theTRANSLOCrecord componentTSUMend- the value for theTSUMendrecord 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 '=='. -
GLAI
public double GLAI()Returns the value of theGLAIrecord component.- Returns:
- the value of the
GLAIrecord component
-
SLA
public double SLA()Returns the value of theSLArecord component.- Returns:
- the value of the
SLArecord component
-
TRANSLOC
public double TRANSLOC()Returns the value of theTRANSLOCrecord component.- Returns:
- the value of the
TRANSLOCrecord component
-
TSUMend
public double TSUMend()Returns the value of theTSUMendrecord component.- Returns:
- the value of the
TSUMendrecord component
-