public class OHLC extends java.lang.Object implements java.io.Serializable
OHLCItem class.| 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.
|
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