public final class TenorRawOptionData extends Object implements org.joda.beans.ImmutableBean, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ImmutableSortedMap<Tenor,RawOptionData> |
getData()
Gets the map of tenor to option data.
|
RawOptionData |
getData(Tenor tenor)
Gets the raw option data for a given tenor.
|
ImmutableSet<Tenor> |
getTenors()
Gets the set of tenors.
|
int |
hashCode() |
static org.joda.beans.TypedMetaBean<TenorRawOptionData> |
meta()
The meta-bean for
TenorRawOptionData. |
org.joda.beans.TypedMetaBean<TenorRawOptionData> |
metaBean() |
static TenorRawOptionData |
of(Map<Tenor,RawOptionData> data)
Obtains an instance of the raw volatility.
|
String |
toString() |
public static TenorRawOptionData of(Map<Tenor,RawOptionData> data)
The data values can be model parameters (like Black or normal volatilities) or direct option prices.
data - the map of data by tenorpublic ImmutableSet<Tenor> getTenors()
public RawOptionData getData(Tenor tenor)
tenor - the tenor to retrievepublic static org.joda.beans.TypedMetaBean<TenorRawOptionData> meta()
TenorRawOptionData.public org.joda.beans.TypedMetaBean<TenorRawOptionData> metaBean()
metaBean in interface org.joda.beans.Beanpublic ImmutableSortedMap<Tenor,RawOptionData> getData()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.