public final class InflationRateSensitivity extends Object implements PointSensitivity, PointSensitivityBuilder, org.joda.beans.ImmutableBean, Serializable
Holds the sensitivity to the PriceIndex curve at a reference month.
| Modifier and Type | Class and Description |
|---|---|
static class |
InflationRateSensitivity.Meta
The meta-bean for
InflationRateSensitivity. |
| Modifier and Type | Method and Description |
|---|---|
MutablePointSensitivities |
buildInto(MutablePointSensitivities combination) |
InflationRateSensitivity |
cloned() |
int |
compareKey(PointSensitivity other) |
InflationRateSensitivity |
convertedTo(Currency resultCurrency,
FxRateProvider rateProvider) |
boolean |
equals(Object obj) |
Currency |
getCurrency()
Gets the currency of the sensitivity.
|
PriceIndex |
getIndex()
Gets the Ibor index that the sensitivity refers to.
|
PriceIndexObservation |
getObservation()
Gets the Price index observation.
|
double |
getSensitivity()
Gets the value of the sensitivity.
|
int |
hashCode() |
InflationRateSensitivity |
mapSensitivity(DoubleUnaryOperator operator) |
static InflationRateSensitivity.Meta |
meta()
The meta-bean for
InflationRateSensitivity. |
InflationRateSensitivity.Meta |
metaBean() |
InflationRateSensitivity |
multipliedBy(double factor) |
InflationRateSensitivity |
normalize() |
static InflationRateSensitivity |
of(PriceIndexObservation observation,
Currency sensitivityCurrency,
double sensitivity)
Obtains an instance from the observation and sensitivity value,
specifying the currency of the value.
|
static InflationRateSensitivity |
of(PriceIndexObservation observation,
double sensitivity)
Obtains an instance from the observation and sensitivity value.
|
String |
toString() |
InflationRateSensitivity |
withCurrency(Currency currency) |
InflationRateSensitivity |
withSensitivity(double sensitivity) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuild, combinedWith, none, of, ofpublic static InflationRateSensitivity of(PriceIndexObservation observation, double sensitivity)
The currency is defaulted from the index.
observation - the rate observation, including the fixing datesensitivity - the value of the sensitivitypublic static InflationRateSensitivity of(PriceIndexObservation observation, Currency sensitivityCurrency, double sensitivity)
observation - the rate observation, including the fixing datesensitivityCurrency - the currency of the sensitivitysensitivity - the value of the sensitivitypublic PriceIndex getIndex()
public InflationRateSensitivity withCurrency(Currency currency)
withCurrency in interface PointSensitivitywithCurrency in interface PointSensitivityBuilderpublic InflationRateSensitivity withSensitivity(double sensitivity)
withSensitivity in interface PointSensitivitypublic int compareKey(PointSensitivity other)
compareKey in interface PointSensitivitypublic InflationRateSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider)
convertedTo in interface FxConvertible<PointSensitivity>convertedTo in interface PointSensitivitypublic InflationRateSensitivity multipliedBy(double factor)
multipliedBy in interface PointSensitivityBuilderpublic InflationRateSensitivity mapSensitivity(DoubleUnaryOperator operator)
mapSensitivity in interface PointSensitivityBuilderpublic InflationRateSensitivity normalize()
normalize in interface PointSensitivityBuilderpublic MutablePointSensitivities buildInto(MutablePointSensitivities combination)
buildInto in interface PointSensitivityBuilderpublic InflationRateSensitivity cloned()
cloned in interface PointSensitivityBuilderpublic static InflationRateSensitivity.Meta meta()
InflationRateSensitivity.public InflationRateSensitivity.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic PriceIndexObservation getObservation()
This includes the index and fixing month.
public Currency getCurrency()
getCurrency in interface PointSensitivitypublic double getSensitivity()
getSensitivity in interface PointSensitivityCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.