org.jfree.data.time.ohlc
Class OHLC
java.lang.Object
org.jfree.data.time.ohlc.OHLC
- Serializable
extends java.lang.Object
implements Serializable
A high low data record (immutable). This class is used internally by the
OHLCItem
class.
OHLC(double open, double high, double low, double close) - Creates a new instance of
OHLC .
|
boolean | equals(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.
|
OHLC
public OHLC(double open,
double high,
double low,
double close)
Creates a new instance of OHLC
.
open
- the open value.high
- the high value.low
- the low value.close
- the close value.
equals
public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
obj
- the object (null
permitted).
getClose
public double getClose()
Returns the close value.
getHigh
public double getHigh()
Returns the high value.
getLow
public double getLow()
Returns the low value.
getOpen
public double getOpen()
Returns the open value.