- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.CashFlow
-
- org.quantlib.IndexedCashFlow
-
- org.quantlib.CPICashFlow
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class CPICashFlow extends IndexedCashFlow implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description CPICashFlow(double notional, ZeroInflationIndex index, Date baseDate, double baseFixing, Date observationDate, Period observationLag, CPI.InterpolationType interpolation, Date paymentDate)CPICashFlow(double notional, ZeroInflationIndex index, Date baseDate, double baseFixing, Date observationDate, Period observationLag, CPI.InterpolationType interpolation, Date paymentDate, boolean growthOnly)protectedCPICashFlow(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()Frequencyfrequency()protected static longgetCPtr(CPICashFlow obj)CPI.InterpolationTypeinterpolation()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.IndexedCashFlow
baseDate, baseFixing, fixingDate, getCPtr, growthOnly, index, indexFixing, notional
-
Methods inherited from class org.quantlib.CashFlow
amount, date, getCPtr, hasOccurred, hasOccurred
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
CPICashFlow
protected CPICashFlow(long cPtr, boolean cMemoryOwn)
-
CPICashFlow
public CPICashFlow(double notional, ZeroInflationIndex index, Date baseDate, double baseFixing, Date observationDate, Period observationLag, CPI.InterpolationType interpolation, Date paymentDate, boolean growthOnly)
-
CPICashFlow
public CPICashFlow(double notional, ZeroInflationIndex index, Date baseDate, double baseFixing, Date observationDate, Period observationLag, CPI.InterpolationType interpolation, Date paymentDate)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(CPICashFlow obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classIndexedCashFlow
-
finalize
protected void finalize()
- Overrides:
finalizein classIndexedCashFlow
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classIndexedCashFlow
-
interpolation
public CPI.InterpolationType interpolation()
-
-