public class BondBasketBuilder
extends java.lang.Object
Constructor and Description |
---|
BondBasketBuilder() |
Modifier and Type | Method and Description |
---|---|
static BasketProduct |
CreateBondBasket(java.lang.String strName,
Bond[] aBond,
double[] adblWeights,
JulianDate dtEffective,
double dblNotional)
BondBasket constructor
|
static BasketProduct |
FromByteArray(byte[] ab)
Create a BondBasket Instance from the byte array
|
public static final BasketProduct CreateBondBasket(java.lang.String strName, Bond[] aBond, double[] adblWeights, JulianDate dtEffective, double dblNotional)
strName
- BondBasket NameaBond
- Component bondsadblWeights
- Component Bond weightsdtEffective
- Effective datedblNotional
- Basket Notionaljava.lang.Exception
- Thrown if inputs are invalidpublic static final BasketProduct FromByteArray(byte[] ab)
ab
- Byte Array