com.dxfeed.ipf.option
Class OptionChain<T>

java.lang.Object
  extended by com.dxfeed.ipf.option.OptionChain<T>
Type Parameters:
T - The type of option instrument instances.
All Implemented Interfaces:
Cloneable

public final class OptionChain<T>
extends Object
implements Cloneable

Set of option series for a single product or underlying symbol.

Threads and clocks

This class is NOT thread-safe and cannot be used from multiple threads without external synchronization.


Method Summary
 OptionChain<T> clone()
          Returns a shall copy of this option chain.
 SortedSet<OptionSerie<T>> getSeries()
          Returns a sorted set of option series of this option chain.
 String getSymbol()
          Returns symbol (product or underlying) of this option chain.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clone

public OptionChain<T> clone()
Returns a shall copy of this option chain. All series are copied (cloned) themselves, but option instrument instances are shared with original.

Overrides:
clone in class Object
Returns:
a shall copy of this option chain.

getSymbol

public String getSymbol()
Returns symbol (product or underlying) of this option chain.

Returns:
symbol (product or underlying) of this option chain.

getSeries

public SortedSet<OptionSerie<T>> getSeries()
Returns a sorted set of option series of this option chain.

Returns:
sorted set of option series of this option chain.


Copyright © 2013 Devexperts. All Rights Reserved.