- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.LazyObject
-
- org.quantlib.Instrument
-
- org.quantlib.Option
-
- org.quantlib.MultiAssetOption
-
- org.quantlib.BasketOption
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class BasketOption extends MultiAssetOption implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.quantlib.Option
Option.Type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBasketOption(long cPtr, boolean cMemoryOwn)BasketOption(BasketPayoff payoff, Exercise exercise)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(BasketOption obj)protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.MultiAssetOption
delta, dividendRho, gamma, getCPtr, rho, theta, vega
-
Methods inherited from class org.quantlib.Instrument
errorEstimate, getCPtr, isExpired, NPV, setPricingEngine
-
Methods inherited from class org.quantlib.LazyObject
alwaysForwardNotifications, forwardFirstNotificationOnly, forwardsAllNotifications, freeze, getCPtr, recalculate, unfreeze
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
BasketOption
protected BasketOption(long cPtr, boolean cMemoryOwn)
-
BasketOption
public BasketOption(BasketPayoff payoff, Exercise exercise)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(BasketOption obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classMultiAssetOption
-
finalize
protected void finalize()
- Overrides:
finalizein classMultiAssetOption
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classMultiAssetOption
-
-