Record Class SymbolAnalysisPriceSeriesDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.analysis.SymbolAnalysisPriceSeriesDTO
- Record Components:
bars- barsnormalizedPerformance- normalized performance
public record SymbolAnalysisPriceSeriesDTO(List<SymbolAnalysisBarDTO> bars, List<SymbolAnalysisNormalizedPointDTO> normalizedPerformance)
extends Record
Price-series DTO.
- Version:
- 2.0.4
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolAnalysisPriceSeriesDTO(List<SymbolAnalysisBarDTO> bars, List<SymbolAnalysisNormalizedPointDTO> normalizedPerformance) Creates an instance of aSymbolAnalysisPriceSeriesDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbars()Returns the value of thebarsrecord component.static SymbolAnalysisPriceSeriesDTOempty()Creates an empty DTO shell.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenormalizedPerformancerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolAnalysisPriceSeriesDTO
public SymbolAnalysisPriceSeriesDTO(List<SymbolAnalysisBarDTO> bars, List<SymbolAnalysisNormalizedPointDTO> normalizedPerformance) Creates an instance of aSymbolAnalysisPriceSeriesDTOrecord class.- Parameters:
bars- the value for thebarsrecord componentnormalizedPerformance- the value for thenormalizedPerformancerecord component
-
-
Method Details
-
empty
Creates an empty DTO shell.- Returns:
SymbolAnalysisPriceSeriesDTO
-
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 withObjects::equals(Object,Object). -
bars
-
normalizedPerformance
Returns the value of thenormalizedPerformancerecord component.- Returns:
- the value of the
normalizedPerformancerecord component
-