- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.LazyObject
-
- org.quantlib.Instrument
-
- org.quantlib.CapFloor
-
- org.quantlib.Collar
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class Collar extends CapFloor implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.quantlib.CapFloor
CapFloor.Type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCollar(long cPtr, boolean cMemoryOwn)Collar(Leg leg, DoubleVector capRates, DoubleVector floorRates)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(Collar obj)protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.CapFloor
atmRate, capRates, floatingLeg, floorRates, getCPtr, impliedVolatility, impliedVolatility, impliedVolatility, impliedVolatility, impliedVolatility, impliedVolatility, impliedVolatility, maturityDate, optionletsAtmForward, optionletsDelta, optionletsDiscountFactor, optionletsPrice, optionletsStdDev, optionletsVega, startDate, type, 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
-
Collar
protected Collar(long cPtr, boolean cMemoryOwn)
-
Collar
public Collar(Leg leg, DoubleVector capRates, DoubleVector floorRates)
-
-
Method Detail
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classCapFloor
-
-