- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.CashFlow
-
- org.quantlib.IndexedCashFlow
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
CPICashFlow,EquityCashFlow
public class IndexedCashFlow extends CashFlow implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description IndexedCashFlow(double notional, Index index, Date baseDate, Date fixingDate, Date paymentDate)IndexedCashFlow(double notional, Index index, Date baseDate, Date fixingDate, Date paymentDate, boolean growthOnly)protectedIndexedCashFlow(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatebaseDate()doublebaseFixing()voiddelete()protected voidfinalize()DatefixingDate()protected static longgetCPtr(IndexedCashFlow obj)booleangrowthOnly()Indexindex()doubleindexFixing()doublenotional()protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.CashFlow
amount, date, getCPtr, hasOccurred, hasOccurred
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
IndexedCashFlow
protected IndexedCashFlow(long cPtr, boolean cMemoryOwn)
-
IndexedCashFlow
public IndexedCashFlow(double notional, Index index, Date baseDate, Date fixingDate, Date paymentDate, boolean growthOnly)
-
IndexedCashFlow
public IndexedCashFlow(double notional, Index index, Date baseDate, Date fixingDate, Date paymentDate)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(IndexedCashFlow obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classCashFlow
-
delete
public void delete()
-
notional
public double notional()
-
fixingDate
public Date fixingDate()
-
baseFixing
public double baseFixing()
-
indexFixing
public double indexFixing()
-
growthOnly
public boolean growthOnly()
-
-