- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.TermStructure
-
- org.quantlib.VolatilityTermStructure
-
- org.quantlib.OptionletVolatilityStructure
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
ConstantOptionletVolatility,StrippedOptionletAdapter
public class OptionletVolatilityStructure extends VolatilityTermStructure implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOptionletVolatilityStructure(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleblackVariance(double arg0, double strike)doubleblackVariance(double arg0, double strike, boolean extrapolate)doubleblackVariance(Date arg0, double strike)doubleblackVariance(Date arg0, double strike, boolean extrapolate)voiddelete()protected voidfinalize()protected static longgetCPtr(OptionletVolatilityStructure obj)protected voidswigSetCMemOwn(boolean own)doublevolatility(double arg0, double strike)doublevolatility(double arg0, double strike, boolean extrapolate)doublevolatility(Date arg0, double strike)doublevolatility(Date arg0, 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
-
OptionletVolatilityStructure
protected OptionletVolatilityStructure(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(OptionletVolatilityStructure 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(Date arg0, double strike, boolean extrapolate)
-
volatility
public double volatility(Date arg0, double strike)
-
volatility
public double volatility(double arg0, double strike, boolean extrapolate)
-
volatility
public double volatility(double arg0, double strike)
-
blackVariance
public double blackVariance(Date arg0, double strike, boolean extrapolate)
-
blackVariance
public double blackVariance(Date arg0, double strike)
-
blackVariance
public double blackVariance(double arg0, double strike, boolean extrapolate)
-
blackVariance
public double blackVariance(double arg0, double strike)
-
-