- java.lang.Object
-
- org.quantlib.FloatingRateCouponPricer
-
- org.quantlib.CmsSpreadCouponPricer
-
- org.quantlib.LognormalCmsSpreadPricer
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class LognormalCmsSpreadPricer extends CmsSpreadCouponPricer implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecapletPrice(double effectiveCap)doublecapletRate(double effectiveCap)voiddelete()protected voidfinalize()doublefloorletPrice(double effectiveFloor)doublefloorletRate(double effectiveFloor)protected static longgetCPtr(LognormalCmsSpreadPricer obj)doubleswapletPrice()doubleswapletRate()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.CmsSpreadCouponPricer
correlation, getCPtr, setCorrelation, setCorrelation
-
Methods inherited from class org.quantlib.FloatingRateCouponPricer
getCPtr
-
-
-
-
Constructor Detail
-
LognormalCmsSpreadPricer
protected LognormalCmsSpreadPricer(long cPtr, boolean cMemoryOwn)
-
LognormalCmsSpreadPricer
public LognormalCmsSpreadPricer(CmsCouponPricer cmsPricer, QuoteHandle correlation, YieldTermStructureHandle couponDiscountCurve, long IntegrationPoints, SWIGTYPE_p_ext__optionalT_VolatilityType_t volatilityType, double shift1, double shift2)
-
LognormalCmsSpreadPricer
public LognormalCmsSpreadPricer(CmsCouponPricer cmsPricer, QuoteHandle correlation, YieldTermStructureHandle couponDiscountCurve, long IntegrationPoints, SWIGTYPE_p_ext__optionalT_VolatilityType_t volatilityType, double shift1)
-
LognormalCmsSpreadPricer
public LognormalCmsSpreadPricer(CmsCouponPricer cmsPricer, QuoteHandle correlation, YieldTermStructureHandle couponDiscountCurve, long IntegrationPoints, SWIGTYPE_p_ext__optionalT_VolatilityType_t volatilityType)
-
LognormalCmsSpreadPricer
public LognormalCmsSpreadPricer(CmsCouponPricer cmsPricer, QuoteHandle correlation, YieldTermStructureHandle couponDiscountCurve, long IntegrationPoints)
-
LognormalCmsSpreadPricer
public LognormalCmsSpreadPricer(CmsCouponPricer cmsPricer, QuoteHandle correlation, YieldTermStructureHandle couponDiscountCurve)
-
LognormalCmsSpreadPricer
public LognormalCmsSpreadPricer(CmsCouponPricer cmsPricer, QuoteHandle correlation)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(LognormalCmsSpreadPricer obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classCmsSpreadCouponPricer
-
finalize
protected void finalize()
- Overrides:
finalizein classCmsSpreadCouponPricer
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classCmsSpreadCouponPricer
-
swapletPrice
public double swapletPrice()
- Overrides:
swapletPricein classFloatingRateCouponPricer
-
swapletRate
public double swapletRate()
- Overrides:
swapletRatein classFloatingRateCouponPricer
-
capletPrice
public double capletPrice(double effectiveCap)
- Overrides:
capletPricein classFloatingRateCouponPricer
-
capletRate
public double capletRate(double effectiveCap)
- Overrides:
capletRatein classFloatingRateCouponPricer
-
floorletPrice
public double floorletPrice(double effectiveFloor)
- Overrides:
floorletPricein classFloatingRateCouponPricer
-
floorletRate
public double floorletRate(double effectiveFloor)
- Overrides:
floorletRatein classFloatingRateCouponPricer
-
-