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