org.encog.ml.data.market

## Class TickerSymbol

- java.lang.Object
- - org.encog.ml.data.market.TickerSymbol

-     public class TickerSymbol
      extends Object

  Holds a ticker symbol and exchange. The exchange is for external use only and is not used by Encog currently.
  Author:
    jheaton

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TickerSymbol(String symbol)` Construct a ticker symbol with no exchange.
    `TickerSymbol(String symbol, String exchange)` Construct a ticker symbol with exchange.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object other)`
    `String` | `getExchange()`
    `String` | `getSymbol()`
    `int` | `hashCode()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TickerSymbol

          public TickerSymbol(String symbol)

      Construct a ticker symbol with no exchange.
      Parameters:
        `symbol` - The ticker symbol.

    - #### TickerSymbol

          public TickerSymbol(String symbol,
                      String exchange)

      Construct a ticker symbol with exchange.
      Parameters:
        `symbol` - The ticker symbol.
        `exchange` - The exchange.

  - ### Method Detail

    - #### equals

          public boolean equals(Object other)

      Overrides:
        `equals` in class `Object`

    - #### getExchange

          public String getExchange()

      Returns:
        the exchange

    - #### getSymbol

          public String getSymbol()

      Returns:
        the symbol

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2014. All Rights Reserved.