- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.Index
-
- org.quantlib.InflationIndex
-
- org.quantlib.YoYInflationIndex
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
YYEUHICP,YYEUHICPr,YYEUHICPXT,YYFRHICP,YYFRHICPr,YYUKRPI,YYUKRPIr,YYUSCPI,YYUSCPIr,YYZACPI,YYZACPIr
public class YoYInflationIndex extends InflationIndex implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedYoYInflationIndex(long cPtr, boolean cMemoryOwn)YoYInflationIndex(String familyName, Region region, boolean revised, boolean interpolated, boolean ratio, Frequency frequency, Period availabilityLag, Currency currency)YoYInflationIndex(String familyName, Region region, boolean revised, boolean interpolated, boolean ratio, Frequency frequency, Period availabilityLag, Currency currency, YoYInflationTermStructureHandle ts)YoYInflationIndex(String familyName, Region region, boolean revised, boolean interpolated, Frequency frequency, Period availabilityLag, Currency currency)YoYInflationIndex(String familyName, Region region, boolean revised, boolean interpolated, Frequency frequency, Period availabilityLag, Currency currency, YoYInflationTermStructureHandle ts)YoYInflationIndex(ZeroInflationIndex underlyingIndex, boolean interpolated)YoYInflationIndex(ZeroInflationIndex underlyingIndex, boolean interpolated, YoYInflationTermStructureHandle ts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description YoYInflationIndexclone(YoYInflationTermStructureHandle h)voiddelete()protected voidfinalize()protected static longgetCPtr(YoYInflationIndex obj)booleanratio()protected voidswigSetCMemOwn(boolean own)ZeroInflationIndexunderlyingIndex()YoYInflationTermStructureHandleyoyInflationTermStructure()-
Methods inherited from class org.quantlib.InflationIndex
availabilityLag, currency, familyName, frequency, getCPtr, interpolated, region, revised
-
Methods inherited from class org.quantlib.Index
addFixing, addFixing, addFixings, addFixings, clearFixings, fixing, fixing, fixingCalendar, getCPtr, hasHistoricalFixing, isValidFixingDate, name, timeSeries, toString
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
YoYInflationIndex
protected YoYInflationIndex(long cPtr, boolean cMemoryOwn)
-
YoYInflationIndex
public YoYInflationIndex(ZeroInflationIndex underlyingIndex, boolean interpolated, YoYInflationTermStructureHandle ts)
-
YoYInflationIndex
public YoYInflationIndex(ZeroInflationIndex underlyingIndex, boolean interpolated)
-
YoYInflationIndex
public YoYInflationIndex(String familyName, Region region, boolean revised, boolean interpolated, Frequency frequency, Period availabilityLag, Currency currency, YoYInflationTermStructureHandle ts)
-
YoYInflationIndex
public YoYInflationIndex(String familyName, Region region, boolean revised, boolean interpolated, Frequency frequency, Period availabilityLag, Currency currency)
-
YoYInflationIndex
public YoYInflationIndex(String familyName, Region region, boolean revised, boolean interpolated, boolean ratio, Frequency frequency, Period availabilityLag, Currency currency, YoYInflationTermStructureHandle ts)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(YoYInflationIndex obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classInflationIndex
-
finalize
protected void finalize()
- Overrides:
finalizein classInflationIndex
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classInflationIndex
-
ratio
public boolean ratio()
-
underlyingIndex
public ZeroInflationIndex underlyingIndex()
-
yoyInflationTermStructure
public YoYInflationTermStructureHandle yoyInflationTermStructure()
-
clone
public YoYInflationIndex clone(YoYInflationTermStructureHandle h)
-
-