|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.data.market.TickerSymbol
public class TickerSymbol
Holds a ticker symbol and exchange. The exchange is for external use only and is not used by Encog currently.
| Constructor Summary | |
|---|---|
TickerSymbol(java.lang.String symbol)
Construct a ticker symbol with no exchange. |
|
TickerSymbol(java.lang.String symbol,
java.lang.String exchange)
Construct a ticker symbol with exchange. |
|
| Method Summary | |
|---|---|
boolean |
equals(TickerSymbol other)
Determine if two ticker symbols equal each other. |
java.lang.String |
getExchange()
|
java.lang.String |
getSymbol()
|
int |
hashCode()
Generate a valid hash code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TickerSymbol(java.lang.String symbol)
symbol - The ticker symbol.
public TickerSymbol(java.lang.String symbol,
java.lang.String exchange)
symbol - The ticker symbol.exchange - The exchange.| Method Detail |
|---|
public boolean equals(TickerSymbol other)
other - The other ticker symbol.
public java.lang.String getExchange()
public java.lang.String getSymbol()
public int hashCode()
hashCode in class java.lang.Object
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||