- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.LazyObject
-
- org.quantlib.Instrument
-
- org.quantlib.Swap
-
- org.quantlib.AssetSwap
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class AssetSwap extends Swap implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread)AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread, Schedule floatSchedule)AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread, Schedule floatSchedule, DayCounter floatingDayCount)AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread, Schedule floatSchedule, DayCounter floatingDayCount, boolean parAssetSwap)protectedAssetSwap(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()doublefairCleanPrice()doublefairSpread()protected voidfinalize()protected static longgetCPtr(AssetSwap obj)protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.Swap
endDiscounts, getCPtr, leg, legBPS, legNPV, maturityDate, npvDateDiscount, numberOfLegs, payer, startDate, startDiscounts
-
Methods inherited from class org.quantlib.Instrument
errorEstimate, getCPtr, isExpired, NPV, setPricingEngine
-
Methods inherited from class org.quantlib.LazyObject
alwaysForwardNotifications, forwardFirstNotificationOnly, forwardsAllNotifications, freeze, getCPtr, recalculate, unfreeze
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
AssetSwap
protected AssetSwap(long cPtr, boolean cMemoryOwn)
-
AssetSwap
public AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread, Schedule floatSchedule, DayCounter floatingDayCount, boolean parAssetSwap)
-
AssetSwap
public AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread, Schedule floatSchedule, DayCounter floatingDayCount)
-
AssetSwap
public AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread, Schedule floatSchedule)
-
AssetSwap
public AssetSwap(boolean payFixedRate, SWIGTYPE_p_ext__shared_ptrT_Bond_t bond, double bondCleanPrice, IborIndex index, double spread)
-
-
Method Detail
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classSwap
-
delete
public void delete()
-
fairCleanPrice
public double fairCleanPrice()
-
fairSpread
public double fairSpread()
-
-