public final class IborCapletFloorletPeriodCurrencyAmounts extends Object implements org.joda.beans.ImmutableBean, Serializable
The currency amounts should represent the same metric.
| Modifier and Type | Class and Description |
|---|---|
static class |
IborCapletFloorletPeriodCurrencyAmounts.Builder
The bean-builder for
IborCapletFloorletPeriodCurrencyAmounts. |
static class |
IborCapletFloorletPeriodCurrencyAmounts.Meta
The meta-bean for
IborCapletFloorletPeriodCurrencyAmounts. |
| Modifier and Type | Method and Description |
|---|---|
static IborCapletFloorletPeriodCurrencyAmounts.Builder |
builder()
Returns a builder used to create an instance of the bean.
|
boolean |
equals(Object obj) |
Optional<CurrencyAmount> |
findAmount(IborCapletFloorletPeriod period)
Gets a currency amount for the provided Ibor caplet/floorlet.
|
CurrencyAmount |
getAmount(IborCapletFloorletPeriod period)
Gets a currency amount for the provided Ibor caplet/floorlet.
|
ImmutableMap<IborCapletFloorletPeriod,CurrencyAmount> |
getAmounts()
Gets the map of Ibor caplet/floorlet periods to the currency amount.
|
int |
hashCode() |
static IborCapletFloorletPeriodCurrencyAmounts.Meta |
meta()
The meta-bean for
IborCapletFloorletPeriodCurrencyAmounts. |
IborCapletFloorletPeriodCurrencyAmounts.Meta |
metaBean() |
static IborCapletFloorletPeriodCurrencyAmounts |
of(Map<IborCapletFloorletPeriod,CurrencyAmount> currencyAmountMap)
Obtains an instance of currency amounts.
|
IborCapletFloorletPeriodCurrencyAmounts.Builder |
toBuilder()
Returns a builder that allows this bean to be mutated.
|
String |
toString() |
public static IborCapletFloorletPeriodCurrencyAmounts of(Map<IborCapletFloorletPeriod,CurrencyAmount> currencyAmountMap)
currencyAmountMap - the map of currency amountspublic Optional<CurrencyAmount> findAmount(IborCapletFloorletPeriod period)
period - the ibor caplet/floorletpublic CurrencyAmount getAmount(IborCapletFloorletPeriod period)
period - the ibor caplet/floorletIllegalArgumentException - if the period is missingpublic static IborCapletFloorletPeriodCurrencyAmounts.Meta meta()
IborCapletFloorletPeriodCurrencyAmounts.public static IborCapletFloorletPeriodCurrencyAmounts.Builder builder()
public IborCapletFloorletPeriodCurrencyAmounts.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic ImmutableMap<IborCapletFloorletPeriod,CurrencyAmount> getAmounts()
public IborCapletFloorletPeriodCurrencyAmounts.Builder toBuilder()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.