Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`TickerSymbol(String symbol)` Construct a ticker symbol with no exchange.
`TickerSymbol(String symbol, String exchange)` Construct a ticker symbol with exchange.

Method Summary
`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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.