- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.TermStructure
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
DefaultProbabilityTermStructure,InflationTermStructure,VolatilityTermStructure,YieldTermStructure
public class TermStructure extends Observable implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTermStructure(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsExtrapolation()Calendarcalendar()DayCounterdayCounter()voiddelete()voiddisableExtrapolation()voidenableExtrapolation()protected voidfinalize()protected static longgetCPtr(TermStructure obj)DatemaxDate()doublemaxTime()DatereferenceDate()protected voidswigSetCMemOwn(boolean own)doubletimeFromReference(Date date)-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
TermStructure
protected TermStructure(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(TermStructure obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classObservable
-
finalize
protected void finalize()
- Overrides:
finalizein classObservable
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classObservable
-
dayCounter
public DayCounter dayCounter()
-
timeFromReference
public double timeFromReference(Date date)
-
referenceDate
public Date referenceDate()
-
maxTime
public double maxTime()
-
enableExtrapolation
public void enableExtrapolation()
-
disableExtrapolation
public void disableExtrapolation()
-
allowsExtrapolation
public boolean allowsExtrapolation()
-
-