Record Class FundamentalsHistory.Entry
java.lang.Object
java.lang.Record
com.quantfinlib.alpha.FundamentalsHistory.Entry
- Enclosing class:
FundamentalsHistory
public static record FundamentalsHistory.Entry(long periodEnd, long publishedAt, Fundamentals fundamentals)
extends Record
One published record.
-
Constructor Summary
ConstructorsConstructorDescriptionEntry(long periodEnd, long publishedAt, Fundamentals fundamentals) Creates an instance of aEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefundamentalsrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theperiodEndrecord component.longReturns the value of thepublishedAtrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
Creates an instance of aEntryrecord class.- Parameters:
periodEnd- the value for theperiodEndrecord componentpublishedAt- the value for thepublishedAtrecord componentfundamentals- the value for thefundamentalsrecord 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. -
periodEnd
public long periodEnd()Returns the value of theperiodEndrecord component.- Returns:
- the value of the
periodEndrecord component
-
publishedAt
public long publishedAt()Returns the value of thepublishedAtrecord component.- Returns:
- the value of the
publishedAtrecord component
-
fundamentals
Returns the value of thefundamentalsrecord component.- Returns:
- the value of the
fundamentalsrecord component
-