Record Class Indicators.Ichimoku
java.lang.Object
java.lang.Record
com.quantfinlib.indicators.Indicators.Ichimoku
- Enclosing class:
Indicators
public static record Indicators.Ichimoku(double[] tenkan, double[] kijun, double[] senkouA, double[] senkouB, double[] chikou)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionIchimoku(double[] tenkan, double[] kijun, double[] senkouA, double[] senkouB, double[] chikou) Creates an instance of aIchimokurecord class. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]chikou()Returns the value of thechikourecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.double[]kijun()Returns the value of thekijunrecord component.double[]senkouA()Returns the value of thesenkouArecord component.double[]senkouB()Returns the value of thesenkouBrecord component.double[]tenkan()Returns the value of thetenkanrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Ichimoku
public Ichimoku(double[] tenkan, double[] kijun, double[] senkouA, double[] senkouB, double[] chikou) Creates an instance of aIchimokurecord class.- Parameters:
tenkan- the value for thetenkanrecord componentkijun- the value for thekijunrecord componentsenkouA- the value for thesenkouArecord componentsenkouB- the value for thesenkouBrecord componentchikou- the value for thechikourecord 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 withObjects::equals(Object,Object). -
tenkan
public double[] tenkan()Returns the value of thetenkanrecord component.- Returns:
- the value of the
tenkanrecord component
-
kijun
public double[] kijun()Returns the value of thekijunrecord component.- Returns:
- the value of the
kijunrecord component
-
senkouA
public double[] senkouA()Returns the value of thesenkouArecord component.- Returns:
- the value of the
senkouArecord component
-
senkouB
public double[] senkouB()Returns the value of thesenkouBrecord component.- Returns:
- the value of the
senkouBrecord component
-
chikou
public double[] chikou()Returns the value of thechikourecord component.- Returns:
- the value of the
chikourecord component
-