Class ConstantRTIndicator
java.lang.Object
com.wualabs.qtsurfer.engine.indicators.core.AbstractRTIndicator
com.wualabs.qtsurfer.engine.indicators.numeric.ConstantRTIndicator
- All Implemented Interfaces:
Resettable, RTIndicator
Basic inmutable RT Indicator holding a value
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConstantRTIndicatorstatic final ConstantRTIndicatorstatic final ConstantRTIndicatorstatic final ConstantRTIndicatorstatic final ConstantRTIndicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConstantRTIndicatorprotected doublesetValue(double value) doubleupdate(double newValue) Methods inherited from class AbstractRTIndicator
equals, getDisplayHint, getMeta, getValue, hashCode, hide, isPoison, reset, toString, toString, withDisplayHint, withMeta
-
Field Details
-
ZERO
-
ONE
-
TWO
-
TEN
-
HUNDRED
-
-
Constructor Details
-
ConstantRTIndicator
-
-
Method Details
-
of
-
setValue
protected double setValue(double value) - Overrides:
setValuein classAbstractRTIndicator
-
update
public double update(double newValue) - Specified by:
updatein interfaceRTIndicator- Overrides:
updatein classAbstractRTIndicator
-