- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.Index
-
- org.quantlib.InterestRateIndex
-
- org.quantlib.SwapIndex
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
ChfLiborSwapIsdaFix,EuriborSwapIfrFix,EuriborSwapIsdaFixA,EuriborSwapIsdaFixB,EurLiborSwapIfrFix,EurLiborSwapIsdaFixA,EurLiborSwapIsdaFixB,GbpLiborSwapIsdaFix,JpyLiborSwapIsdaFixAm,JpyLiborSwapIsdaFixPm,OvernightIndexedSwapIndex,UsdLiborSwapIsdaFixAm,UsdLiborSwapIsdaFixPm
public class SwapIndex extends InterestRateIndex implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSwapIndex(long cPtr, boolean cMemoryOwn)SwapIndex(String familyName, Period tenor, int settlementDays, Currency currency, Calendar calendar, Period fixedLegTenor, BusinessDayConvention fixedLegConvention, DayCounter fixedLegDayCounter, IborIndex iborIndex)SwapIndex(String familyName, Period tenor, int settlementDays, Currency currency, Calendar calendar, Period fixedLegTenor, BusinessDayConvention fixedLegConvention, DayCounter fixedLegDayCounter, IborIndex iborIndex, YieldTermStructureHandle discountCurve)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SwapIndexclone(Period tenor)SwapIndexclone(YieldTermStructureHandle h)SwapIndexclone(YieldTermStructureHandle forwarding, YieldTermStructureHandle discounting)voiddelete()YieldTermStructureHandlediscountingTermStructure()protected voidfinalize()BusinessDayConventionfixedLegConvention()PeriodfixedLegTenor()YieldTermStructureHandleforwardingTermStructure()protected static longgetCPtr(SwapIndex obj)IborIndexiborIndex()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.InterestRateIndex
currency, dayCounter, familyName, fixingDate, fixingDays, getCPtr, maturityDate, tenor, valueDate
-
Methods inherited from class org.quantlib.Index
addFixing, addFixing, addFixings, addFixings, clearFixings, fixing, fixing, fixingCalendar, getCPtr, hasHistoricalFixing, isValidFixingDate, name, timeSeries, toString
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
SwapIndex
protected SwapIndex(long cPtr, boolean cMemoryOwn)
-
SwapIndex
public SwapIndex(String familyName, Period tenor, int settlementDays, Currency currency, Calendar calendar, Period fixedLegTenor, BusinessDayConvention fixedLegConvention, DayCounter fixedLegDayCounter, IborIndex iborIndex)
-
SwapIndex
public SwapIndex(String familyName, Period tenor, int settlementDays, Currency currency, Calendar calendar, Period fixedLegTenor, BusinessDayConvention fixedLegConvention, DayCounter fixedLegDayCounter, IborIndex iborIndex, YieldTermStructureHandle discountCurve)
-
-
Method Detail
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classInterestRateIndex
-
finalize
protected void finalize()
- Overrides:
finalizein classInterestRateIndex
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classInterestRateIndex
-
fixedLegTenor
public Period fixedLegTenor()
-
fixedLegConvention
public BusinessDayConvention fixedLegConvention()
-
forwardingTermStructure
public YieldTermStructureHandle forwardingTermStructure()
-
discountingTermStructure
public YieldTermStructureHandle discountingTermStructure()
-
clone
public SwapIndex clone(YieldTermStructureHandle h)
-
clone
public SwapIndex clone(YieldTermStructureHandle forwarding, YieldTermStructureHandle discounting)
-
-