org.encog.ml.data.market
Class TickerSymbol
- java.lang.Object
-
- org.encog.ml.data.market.TickerSymbol
-
public class TickerSymbol extends java.lang.ObjectHolds a ticker symbol and exchange. The exchange is for external use only and is not used by Encog currently.
-
-
Constructor Summary
Constructors Constructor and Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object other)java.lang.StringgetExchange()java.lang.StringgetSymbol()inthashCode()
-
-
-
Constructor Detail
-
TickerSymbol
public TickerSymbol(java.lang.String symbol)
Construct a ticker symbol with no exchange.- Parameters:
symbol- The ticker symbol.
-
TickerSymbol
public TickerSymbol(java.lang.String symbol, java.lang.String exchange)Construct a ticker symbol with exchange.- Parameters:
symbol- The ticker symbol.exchange- The exchange.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getExchange
public java.lang.String getExchange()
- Returns:
- the exchange
-
getSymbol
public java.lang.String getSymbol()
- Returns:
- the symbol
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG