Record Class LintulCCFunctions.ASTROResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.lintulcc.LintulCCFunctions.ASTROResult
- Enclosing class:
- LintulCCFunctions
public static record LintulCCFunctions.ASTROResult(double SC, double DS0, double SINLD, double COSLD, double DAYL, double DSINB, double DSINBE)
extends Record
-
Constructor Summary
ConstructorDescriptionASTROResult
(double SC, double DS0, double SINLD, double COSLD, double DAYL, double DSINB, double DSINBE) Creates an instance of aASTROResult
record class. -
Method Summary
Modifier and TypeMethodDescriptiondouble
COSLD()
Returns the value of theCOSLD
record component.double
DAYL()
Returns the value of theDAYL
record component.double
DS0()
Returns the value of theDS0
record component.double
DSINB()
Returns the value of theDSINB
record component.double
DSINBE()
Returns the value of theDSINBE
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.double
SC()
Returns the value of theSC
record component.double
SINLD()
Returns the value of theSINLD
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ASTROResult
public ASTROResult(double SC, double DS0, double SINLD, double COSLD, double DAYL, double DSINB, double DSINBE) Creates an instance of aASTROResult
record class.- Parameters:
SC
- the value for theSC
record componentDS0
- the value for theDS0
record componentSINLD
- the value for theSINLD
record componentCOSLD
- the value for theCOSLD
record componentDAYL
- the value for theDAYL
record componentDSINB
- the value for theDSINB
record componentDSINBE
- the value for theDSINBE
record 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 '=='. -
SC
public double SC()Returns the value of theSC
record component.- Returns:
- the value of the
SC
record component
-
DS0
public double DS0()Returns the value of theDS0
record component.- Returns:
- the value of the
DS0
record component
-
SINLD
public double SINLD()Returns the value of theSINLD
record component.- Returns:
- the value of the
SINLD
record component
-
COSLD
public double COSLD()Returns the value of theCOSLD
record component.- Returns:
- the value of the
COSLD
record component
-
DAYL
public double DAYL()Returns the value of theDAYL
record component.- Returns:
- the value of the
DAYL
record component
-
DSINB
public double DSINB()Returns the value of theDSINB
record component.- Returns:
- the value of the
DSINB
record component
-
DSINBE
public double DSINBE()Returns the value of theDSINBE
record component.- Returns:
- the value of the
DSINBE
record component
-