Record Class GaussianPointDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.analysis.GaussianPointDTO
- Record Components:
returnPercent- return percentdensity- density
Gaussian-point DTO.
- Version:
- 2.0.4
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionGaussianPointDTO(double returnPercent, double density) Creates an instance of aGaussianPointDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubledensity()Returns the value of thedensityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thereturnPercentrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GaussianPointDTO
public GaussianPointDTO(double returnPercent, double density) Creates an instance of aGaussianPointDTOrecord class.- Parameters:
returnPercent- the value for thereturnPercentrecord componentdensity- the value for thedensityrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
returnPercent
public double returnPercent()Returns the value of thereturnPercentrecord component.- Returns:
- the value of the
returnPercentrecord component
-
density
-