- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.TermStructure
-
- org.quantlib.VolatilityTermStructure
-
- org.quantlib.SwaptionVolatilityStructure
-
- org.quantlib.SwaptionVolatilityDiscrete
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
SwaptionVolatilityCube,SwaptionVolatilityMatrix
public class SwaptionVolatilityDiscrete extends SwaptionVolatilityStructure implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSwaptionVolatilityDiscrete(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(SwaptionVolatilityDiscrete obj)DateoptionDateFromTime(double optionTime)DateVectoroptionDates()PeriodVectoroptionTenors()DoubleVectoroptionTimes()DoubleVectorswapLengths()PeriodVectorswapTenors()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.SwaptionVolatilityStructure
blackVariance, blackVariance, blackVariance, blackVariance, getCPtr, optionDateFromTenor, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, shift, smileSection, smileSection, smileSection, smileSection, smileSection, smileSection, smileSection, smileSection, smileSection, smileSection, smileSection, smileSection, volatility, volatility, volatility, volatility
-
Methods inherited from class org.quantlib.VolatilityTermStructure
getCPtr, maxStrike, minStrike
-
Methods inherited from class org.quantlib.TermStructure
allowsExtrapolation, calendar, dayCounter, disableExtrapolation, enableExtrapolation, getCPtr, maxDate, maxTime, referenceDate, timeFromReference
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
SwaptionVolatilityDiscrete
protected SwaptionVolatilityDiscrete(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(SwaptionVolatilityDiscrete obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classSwaptionVolatilityStructure
-
finalize
protected void finalize()
- Overrides:
finalizein classSwaptionVolatilityStructure
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classSwaptionVolatilityStructure
-
optionTenors
public PeriodVector optionTenors()
-
optionDates
public DateVector optionDates()
-
optionTimes
public DoubleVector optionTimes()
-
swapTenors
public PeriodVector swapTenors()
-
swapLengths
public DoubleVector swapLengths()
-
optionDateFromTime
public Date optionDateFromTime(double optionTime)
-
-