Package com.storedobject.chart
Record Class CandlestickData.Candlestick
java.lang.Object
java.lang.Record
com.storedobject.chart.CandlestickData.Candlestick
- Record Components:
opening- Opening valueclosing- Closing valuelow- Lowe valuehigh- High value
- Enclosing class:
CandlestickData
public static record CandlestickData.Candlestick(Number opening, Number closing, Number low, Number high)
extends Record
A structure to represent a data point in the candlestick chart.
- Author:
- Syam
-
Constructor Summary
ConstructorsConstructorDescriptionCandlestick(Number opening, Number closing, Number low, Number high) Creates an instance of aCandlestickrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclosing()Returns the value of theclosingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.high()Returns the value of thehighrecord component.low()Returns the value of thelowrecord component.opening()Returns the value of theopeningrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
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 withObjects::equals(Object,Object). -
opening
-
closing
-
low
-
high
-