- java.lang.Object
-
- org.quantlib.Payoff
-
- org.quantlib.TypePayoff
-
- org.quantlib.StrikedTypePayoff
-
- org.quantlib.GapPayoff
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class GapPayoff extends StrikedTypePayoff implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGapPayoff(long cPtr, boolean cMemoryOwn)GapPayoff(Option.Type type, double strike, double strikePayoff)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(GapPayoff obj)protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.StrikedTypePayoff
getCPtr, strike
-
Methods inherited from class org.quantlib.TypePayoff
getCPtr, optionType
-
-
-
-
Constructor Detail
-
GapPayoff
protected GapPayoff(long cPtr, boolean cMemoryOwn)
-
GapPayoff
public GapPayoff(Option.Type type, double strike, double strikePayoff)
-
-
Method Detail
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classStrikedTypePayoff
-
finalize
protected void finalize()
- Overrides:
finalizein classStrikedTypePayoff
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classStrikedTypePayoff
-
-