Record Class SymbolSentimentPointDTO
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.platform.models.api.dto.symbol.SymbolSentimentPointDTO
- Record Components:
date- provider date bucket or requested interval bucketnormalized- normalized sentiment scorelabel- sentiment display labelcount- article count
-
Constructor Summary
ConstructorsConstructorDescriptionSymbolSentimentPointDTO(String date, double normalized, String label, Integer count) Creates an instance of aSymbolSentimentPointDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncount()Returns the value of thecountrecord component.date()Returns the value of thedaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.doubleReturns the value of thenormalizedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolSentimentPointDTO
Creates an instance of aSymbolSentimentPointDTOrecord class.- Parameters:
date- the value for thedaterecord componentnormalized- the value for thenormalizedrecord componentlabel- the value for thelabelrecord componentcount- the value for thecountrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
date
-
normalized
public double normalized()Returns the value of thenormalizedrecord component.- Returns:
- the value of the
normalizedrecord component
-
label
-
count
-