- java.lang.Object
-
- org.quantlib.SwaptionVolatilityStructureHandle
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
RelinkableSwaptionVolatilityStructureHandle
public class SwaptionVolatilityStructureHandle extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description SwaptionVolatilityStructureHandle()protectedSwaptionVolatilityStructureHandle(long cPtr, boolean cMemoryOwn)SwaptionVolatilityStructureHandle(SwaptionVolatilityStructure arg0)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SwaptionVolatilityStructure__deref__()booleanallowsExtrapolation()ObservableasObservable()doubleblackVariance(double start, double length, double strike)doubleblackVariance(double start, double length, double strike, boolean extrapolate)doubleblackVariance(Date start, Period length, double strike)doubleblackVariance(Date start, Period length, double strike, boolean extrapolate)Calendarcalendar()SwaptionVolatilityStructurecurrentLink()DayCounterdayCounter()voiddelete()voiddisableExtrapolation()booleanempty()voidenableExtrapolation()protected voidfinalize()protected static longgetCPtr(SwaptionVolatilityStructureHandle obj)DatemaxDate()doublemaxStrike()doublemaxTime()doubleminStrike()DateoptionDateFromTenor(Period p)DatereferenceDate()doubleshift(double optionTime, double swapLength)doubleshift(double optionTime, double swapLength, boolean extrapolate)doubleshift(double optionTime, Period swapTenor)doubleshift(double optionTime, Period swapTenor, boolean extrapolate)doubleshift(Date optionDate, double swapLength)doubleshift(Date optionDate, double swapLength, boolean extrapolate)doubleshift(Date optionDate, Period swapTenor)doubleshift(Date optionDate, Period swapTenor, boolean extrapolate)doubleshift(Period optionTenor, double swapLength)doubleshift(Period optionTenor, double swapLength, boolean extrapolate)doubleshift(Period optionTenor, Period swapTenor)doubleshift(Period optionTenor, Period swapTenor, boolean extrapolate)SmileSectionsmileSection(double optionTime, double swapLength)SmileSectionsmileSection(double optionTime, double swapLength, boolean extr)SmileSectionsmileSection(double optionTime, Period swapTenor)SmileSectionsmileSection(double optionTime, Period swapTenor, boolean extr)SmileSectionsmileSection(Date optionDate, double swapLength)SmileSectionsmileSection(Date optionDate, double swapLength, boolean extr)SmileSectionsmileSection(Date optionDate, Period swapTenor)SmileSectionsmileSection(Date optionDate, Period swapTenor, boolean extr)SmileSectionsmileSection(Period optionTenor, double swapLength)SmileSectionsmileSection(Period optionTenor, double swapLength, boolean extr)SmileSectionsmileSection(Period optionTenor, Period swapTenor)SmileSectionsmileSection(Period optionTenor, Period swapTenor, boolean extr)protected static longswigRelease(SwaptionVolatilityStructureHandle obj)doubletimeFromReference(Date date)doublevolatility(double start, double length, double strike)doublevolatility(double start, double length, double strike, boolean extrapolate)doublevolatility(Date start, Period length, double strike)doublevolatility(Date start, Period length, double strike, boolean extrapolate)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
SwaptionVolatilityStructureHandle
protected SwaptionVolatilityStructureHandle(long cPtr, boolean cMemoryOwn)
-
SwaptionVolatilityStructureHandle
public SwaptionVolatilityStructureHandle(SwaptionVolatilityStructure arg0)
-
SwaptionVolatilityStructureHandle
public SwaptionVolatilityStructureHandle()
-
-
Method Detail
-
getCPtr
protected static long getCPtr(SwaptionVolatilityStructureHandle obj)
-
swigRelease
protected static long swigRelease(SwaptionVolatilityStructureHandle obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
__deref__
public SwaptionVolatilityStructure __deref__()
-
currentLink
public SwaptionVolatilityStructure currentLink()
-
empty
public boolean empty()
-
asObservable
public Observable asObservable()
-
volatility
public double volatility(Date start, Period length, double strike, boolean extrapolate)
-
volatility
public double volatility(Date start, Period length, double strike)
-
volatility
public double volatility(double start, double length, double strike, boolean extrapolate)
-
volatility
public double volatility(double start, double length, double strike)
-
blackVariance
public double blackVariance(Date start, Period length, double strike, boolean extrapolate)
-
blackVariance
public double blackVariance(Date start, Period length, double strike)
-
blackVariance
public double blackVariance(double start, double length, double strike, boolean extrapolate)
-
blackVariance
public double blackVariance(double start, double length, double strike)
-
optionDateFromTenor
public Date optionDateFromTenor(Period p)
-
shift
public double shift(double optionTime, double swapLength, boolean extrapolate)
-
shift
public double shift(double optionTime, double swapLength)
-
smileSection
public SmileSection smileSection(Period optionTenor, Period swapTenor, boolean extr)
-
smileSection
public SmileSection smileSection(Period optionTenor, Period swapTenor)
-
smileSection
public SmileSection smileSection(Date optionDate, Period swapTenor, boolean extr)
-
smileSection
public SmileSection smileSection(Date optionDate, Period swapTenor)
-
smileSection
public SmileSection smileSection(double optionTime, Period swapTenor, boolean extr)
-
smileSection
public SmileSection smileSection(double optionTime, Period swapTenor)
-
smileSection
public SmileSection smileSection(Period optionTenor, double swapLength, boolean extr)
-
smileSection
public SmileSection smileSection(Period optionTenor, double swapLength)
-
smileSection
public SmileSection smileSection(Date optionDate, double swapLength, boolean extr)
-
smileSection
public SmileSection smileSection(Date optionDate, double swapLength)
-
smileSection
public SmileSection smileSection(double optionTime, double swapLength, boolean extr)
-
smileSection
public SmileSection smileSection(double optionTime, double swapLength)
-
minStrike
public double minStrike()
-
maxStrike
public double maxStrike()
-
dayCounter
public DayCounter dayCounter()
-
timeFromReference
public double timeFromReference(Date date)
-
referenceDate
public Date referenceDate()
-
maxTime
public double maxTime()
-
enableExtrapolation
public void enableExtrapolation()
-
disableExtrapolation
public void disableExtrapolation()
-
allowsExtrapolation
public boolean allowsExtrapolation()
-
-