public final class IborRateSensitivity extends Object implements PointSensitivity, PointSensitivityBuilder, org.joda.beans.ImmutableBean, Serializable
Holds the sensitivity to the IborIndex curve at a fixing date.
| Modifier and Type | Class and Description |
|---|---|
static class |
IborRateSensitivity.Meta
The meta-bean for
IborRateSensitivity. |
| Modifier and Type | Method and Description |
|---|---|
MutablePointSensitivities |
buildInto(MutablePointSensitivities combination) |
IborRateSensitivity |
cloned() |
int |
compareKey(PointSensitivity other) |
IborRateSensitivity |
convertedTo(Currency resultCurrency,
FxRateProvider rateProvider) |
boolean |
equals(Object obj) |
Currency |
getCurrency()
Gets the currency of the sensitivity.
|
IborIndex |
getIndex()
Gets the Ibor index that the sensitivity refers to.
|
IborIndexObservation |
getObservation()
Gets the Ibor index observation.
|
double |
getSensitivity()
Gets the value of the sensitivity.
|
int |
hashCode() |
IborRateSensitivity |
mapSensitivity(DoubleUnaryOperator operator) |
static IborRateSensitivity.Meta |
meta()
The meta-bean for
IborRateSensitivity. |
IborRateSensitivity.Meta |
metaBean() |
IborRateSensitivity |
multipliedBy(double factor) |
IborRateSensitivity |
normalize() |
static IborRateSensitivity |
of(IborIndexObservation observation,
Currency sensitivityCurrency,
double sensitivity)
Obtains an instance from the observation and sensitivity value,
specifying the currency of the value.
|
static IborRateSensitivity |
of(IborIndexObservation observation,
double sensitivity)
Obtains an instance from the observation and sensitivity value.
|
String |
toString() |
IborRateSensitivity |
withCurrency(Currency currency) |
IborRateSensitivity |
withSensitivity(double sensitivity) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuild, combinedWith, none, of, ofpublic static IborRateSensitivity of(IborIndexObservation observation, double sensitivity)
The currency is defaulted from the index.
observation - the rate observation, including the fixing datesensitivity - the value of the sensitivitypublic static IborRateSensitivity of(IborIndexObservation observation, Currency sensitivityCurrency, double sensitivity)
observation - the rate observation, including the fixing datesensitivityCurrency - the currency of the sensitivitysensitivity - the value of the sensitivitypublic IborIndex getIndex()
public IborRateSensitivity withCurrency(Currency currency)
withCurrency in interface PointSensitivitywithCurrency in interface PointSensitivityBuilderpublic IborRateSensitivity withSensitivity(double sensitivity)
withSensitivity in interface PointSensitivitypublic int compareKey(PointSensitivity other)
compareKey in interface PointSensitivitypublic IborRateSensitivity convertedTo(Currency resultCurrency, FxRateProvider rateProvider)
convertedTo in interface FxConvertible<PointSensitivity>convertedTo in interface PointSensitivitypublic IborRateSensitivity multipliedBy(double factor)
multipliedBy in interface PointSensitivityBuilderpublic IborRateSensitivity mapSensitivity(DoubleUnaryOperator operator)
mapSensitivity in interface PointSensitivityBuilderpublic IborRateSensitivity normalize()
normalize in interface PointSensitivityBuilderpublic MutablePointSensitivities buildInto(MutablePointSensitivities combination)
buildInto in interface PointSensitivityBuilderpublic IborRateSensitivity cloned()
cloned in interface PointSensitivityBuilderpublic static IborRateSensitivity.Meta meta()
IborRateSensitivity.public IborRateSensitivity.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic IborIndexObservation getObservation()
This includes the index and fixing date.
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.