- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.TermStructure
-
- org.quantlib.InflationTermStructure
-
- org.quantlib.YoYInflationTermStructure
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
PiecewiseYoYInflation,YoYInflationCurve
public class YoYInflationTermStructure extends InflationTermStructure implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedYoYInflationTermStructure(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(YoYInflationTermStructure obj)booleanindexIsInterpolated()protected voidswigSetCMemOwn(boolean own)doubleyoyRate(double t)doubleyoyRate(double t, boolean extrapolate)doubleyoyRate(Date d)doubleyoyRate(Date d, Period instObsLag)doubleyoyRate(Date d, Period instObsLag, boolean forceLinearInterpolation)doubleyoyRate(Date d, Period instObsLag, boolean forceLinearInterpolation, boolean extrapolate)-
Methods inherited from class org.quantlib.InflationTermStructure
baseDate, baseRate, frequency, getCPtr, hasSeasonality, observationLag, seasonality, setSeasonality, setSeasonality
-
Methods inherited from class org.quantlib.TermStructure
allowsExtrapolation, calendar, dayCounter, disableExtrapolation, enableExtrapolation, getCPtr, maxDate, maxTime, referenceDate, timeFromReference
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
YoYInflationTermStructure
protected YoYInflationTermStructure(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(YoYInflationTermStructure obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classInflationTermStructure
-
finalize
protected void finalize()
- Overrides:
finalizein classInflationTermStructure
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classInflationTermStructure
-
yoyRate
public double yoyRate(Date d, Period instObsLag, boolean forceLinearInterpolation, boolean extrapolate)
-
yoyRate
public double yoyRate(double t, boolean extrapolate)
-
yoyRate
public double yoyRate(double t)
-
indexIsInterpolated
public boolean indexIsInterpolated()
-
-