|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.otfeed.event.OTTodaysOHL
public final class OTTodaysOHL
Provides OHL (Open/High/Low) information.
| Constructor Summary | |
|---|---|
OTTodaysOHL()
Default constructor. |
|
OTTodaysOHL(double openPrice,
double highPrice,
double lowPrice)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(OTTodaysOHL other)
|
boolean |
equals(java.lang.Object o)
|
double |
getHighPrice()
|
double |
getLowPrice()
|
double |
getOpenPrice()
|
int |
hashCode()
|
void |
setHighPrice(double highPrice)
Sets High Price. |
void |
setLowPrice(double lowPrice)
Sets Low price. |
void |
setOpenPrice(double openPrice)
Sets Open price. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OTTodaysOHL()
public OTTodaysOHL(double openPrice,
double highPrice,
double lowPrice)
openPrice - Open price.highPrice - High price.lowPrice - Low price.| Method Detail |
|---|
public double getOpenPrice()
public void setOpenPrice(double openPrice)
openPrice - Open price.public double getHighPrice()
public void setHighPrice(double highPrice)
highPrice - High price.public double getLowPrice()
public void setLowPrice(double lowPrice)
lowPrice - Low price.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(OTTodaysOHL other)
compareTo in interface java.lang.Comparable<OTTodaysOHL>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||