public final class FloatingData extends NativeArrayDoubleContainer
Constructor and Description |
---|
FloatingData()
Creates the object setting the default start and end points of a bar.
|
FloatingData(double start,
double end)
Creates the object setting the start and end points of a bar.
|
Modifier and Type | Method and Description |
---|---|
double |
getAbsValue()
Returns the absolute value which is calculating subtracting the start point from end point.
|
double |
getEnd()
Returns the end point of a bar.
|
double |
getStart()
Returns the start point of a bar.
|
double |
getValue()
Returns the value which is calculating subtracting the start point from end point.
|
void |
setValues(double start,
double end)
Sets the start and end points of a bar.
|
String |
toString() |
clear, push
getNativeArray, toJSON
public FloatingData()
public FloatingData(double start, double end)
start
- the start point of a barend
- the end point of a barpublic double getStart()
public double getEnd()
public void setValues(double start, double end)
start
- the start point of a barend
- the end point of a barpublic double getValue()
public double getAbsValue()