public class OHLC
extends java.lang.Object
implements java.io.Serializable
OHLCItem class.| Modifier and Type | Field and Description |
|---|---|
private double |
close
The close value.
|
private double |
high
The high value.
|
private double |
low
The low value.
|
private double |
open
The open value.
|
| Constructor and Description |
|---|
OHLC(double open,
double high,
double low,
double close)
Creates a new instance of
OHLC. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.
|
double |
getClose()
Returns the close value.
|
double |
getHigh()
Returns the high value.
|
double |
getLow()
Returns the low value.
|
double |
getOpen()
Returns the open value.
|
int |
hashCode()
Returns a hash code for this instance.
|
private double open
private double close
private double high
private double low
public OHLC(double open,
double high,
double low,
double close)
OHLC.open - the open value.close - the close value.high - the high value.low - the low value.public double getOpen()
public double getClose()
public double getHigh()
public double getLow()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).public int hashCode()
hashCode in class java.lang.Object