- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.TermStructure
-
- org.quantlib.VolatilityTermStructure
-
- org.quantlib.CapFloorTermVolatilityStructure
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
CapFloorTermVolCurve,CapFloorTermVolSurface
public class CapFloorTermVolatilityStructure extends VolatilityTermStructure implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCapFloorTermVolatilityStructure(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(CapFloorTermVolatilityStructure obj)protected voidswigSetCMemOwn(boolean own)doublevolatility(double end, double strike)doublevolatility(double end, double strike, boolean extrapolate)doublevolatility(Date end, double strike)doublevolatility(Date end, double strike, boolean extrapolate)doublevolatility(Period length, double strike)doublevolatility(Period length, double strike, boolean extrapolate)-
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
-
CapFloorTermVolatilityStructure
protected CapFloorTermVolatilityStructure(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(CapFloorTermVolatilityStructure obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classVolatilityTermStructure
-
finalize
protected void finalize()
- Overrides:
finalizein classVolatilityTermStructure
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classVolatilityTermStructure
-
volatility
public double volatility(Period length, double strike, boolean extrapolate)
-
volatility
public double volatility(Period length, double strike)
-
volatility
public double volatility(Date end, double strike, boolean extrapolate)
-
volatility
public double volatility(Date end, double strike)
-
volatility
public double volatility(double end, double strike, boolean extrapolate)
-
volatility
public double volatility(double end, double strike)
-
-