| java.lang.Object org.jfree.data.time.ohlc.OHLC
OHLC | public class OHLC implements Serializable(Code) | | A high low data record (immutable). This class is used internally by the
OHLCItem class.
since: 1.0.4 |
Constructor Summary | |
public | OHLC(double open, double high, double low, double close) Creates a new instance of OHLC . |
Method Summary | |
public boolean | equals(Object obj) Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public double | getClose() Returns the close value. | public double | getHigh() Returns the high value. | public double | getLow() Returns the low value. | public double | getOpen() Returns the open value. |
OHLC | public OHLC(double open, double high, double low, double close)(Code) | | Creates a new instance of OHLC .
Parameters: open - the open value. Parameters: close - the close value. Parameters: high - the high value. Parameters: low - the low value. |
equals | public boolean equals(Object obj)(Code) | | Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getClose | public double getClose()(Code) | | Returns the close value.
The close value. |
getHigh | public double getHigh()(Code) | | Returns the high value.
The high value. |
getLow | public double getLow()(Code) | | Returns the low value.
The low value. |
getOpen | public double getOpen()(Code) | | Returns the open value.
The open value. |
|
|