Record Class OryzaFunctions.SGPC
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.SGPC
- Enclosing class:
- OryzaFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.doubleGPC()Returns the value of theGPCrecord component.final inthashCode()Returns a hash code value for this object.doubleRAPC()Returns the value of theRAPCrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SGPC
public SGPC(double GPC, double RAPC) Creates an instance of aSGPCrecord class.- Parameters:
GPC- the value for theGPCrecord componentRAPC- the value for theRAPCrecord 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 '=='. -
GPC
public double GPC()Returns the value of theGPCrecord component.- Returns:
- the value of the
GPCrecord component
-
RAPC
public double RAPC()Returns the value of theRAPCrecord component.- Returns:
- the value of the
RAPCrecord component
-