public class LatentStateFixingsContainer
extends java.lang.Object
Constructor and Description |
---|
LatentStateFixingsContainer()
Empty LatentStateFixingsContainer Instance Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(int iDate,
LatentStateLabel lsl,
double dblFixing)
Add the Latent State Fixing corresponding to the Date/Label Pair
|
boolean |
add(JulianDate dt,
LatentStateLabel lsl,
double dblFixing)
Add the Fixing corresponding to the Date/Label Pair
|
boolean |
available(int iDate,
LatentStateLabel lsl)
Indicate the Availability of the Fixing for the Specified LSL on the specified Date
|
boolean |
available(JulianDate dt,
LatentStateLabel lsl)
Indicate the Availability of the Fixing for the Specified LSL Label on the specified Date
|
double |
fixing(int iDate,
LatentStateLabel lsl)
Retrieve the Latent State Fixing for the Specified Date
|
double |
fixing(JulianDate dt,
LatentStateLabel lsl)
Retrieve the Latent State Fixing for the Specified Date/LSL Combination
|
boolean |
remove(int iDate,
LatentStateLabel lsl)
Remove the Latent State Fixing corresponding to the Date/Label Pair it if exists
|
boolean |
remove(JulianDate dt,
LatentStateLabel lsl)
Remove the Latent State Fixing corresponding to the Date/Label Pair it if exists
|
public LatentStateFixingsContainer()
public boolean add(JulianDate dt, LatentStateLabel lsl, double dblFixing)
dt
- The Fixing Datelsl
- The Latent State LabeldblFixing
- The Fixing Amountpublic boolean add(int iDate, LatentStateLabel lsl, double dblFixing)
iDate
- The Fixing Datelsl
- The Latent State Fixing LabeldblFixing
- The Fixing Amountpublic boolean remove(JulianDate dt, LatentStateLabel lsl)
dt
- The Fixing Datelsl
- The Latent State Fixing Labelpublic boolean remove(int iDate, LatentStateLabel lsl)
iDate
- The Fixing Datelsl
- The Latent State Fixing Labelpublic double fixing(JulianDate dt, LatentStateLabel lsl) throws java.lang.Exception
dt
- Datelsl
- The Latent State Latent State Labeljava.lang.Exception
- Thrown if the Fixing cannot be foundpublic double fixing(int iDate, LatentStateLabel lsl) throws java.lang.Exception
iDate
- Datelsl
- The Latent State Labeljava.lang.Exception
- Thrown if the Fixing cannot be foundpublic boolean available(JulianDate dt, LatentStateLabel lsl)
dt
- The Datelsl
- The Labelpublic boolean available(int iDate, LatentStateLabel lsl)
iDate
- The Datelsl
- The Label