- java.lang.Object
-
- org.quantlib.YieldTermStructureHandle
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
RelinkableYieldTermStructureHandle
public class YieldTermStructureHandle extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description YieldTermStructureHandle()protectedYieldTermStructureHandle(long cPtr, boolean cMemoryOwn)YieldTermStructureHandle(YieldTermStructure arg0)
-
Method Summary
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
YieldTermStructureHandle
protected YieldTermStructureHandle(long cPtr, boolean cMemoryOwn)
-
YieldTermStructureHandle
public YieldTermStructureHandle(YieldTermStructure arg0)
-
YieldTermStructureHandle
public YieldTermStructureHandle()
-
-
Method Detail
-
getCPtr
protected static long getCPtr(YieldTermStructureHandle obj)
-
swigRelease
protected static long swigRelease(YieldTermStructureHandle obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
__deref__
public YieldTermStructure __deref__()
-
currentLink
public YieldTermStructure currentLink()
-
empty
public boolean empty()
-
asObservable
public Observable asObservable()
-
discount
public double discount(double arg0, boolean extrapolate)
-
discount
public double discount(double arg0)
-
zeroRate
public InterestRate zeroRate(Date d, DayCounter arg1, Compounding arg2, Frequency f, boolean extrapolate)
-
zeroRate
public InterestRate zeroRate(Date d, DayCounter arg1, Compounding arg2, Frequency f)
-
zeroRate
public InterestRate zeroRate(Date d, DayCounter arg1, Compounding arg2)
-
zeroRate
public InterestRate zeroRate(double t, Compounding arg1, Frequency f, boolean extrapolate)
-
zeroRate
public InterestRate zeroRate(double t, Compounding arg1, Frequency f)
-
zeroRate
public InterestRate zeroRate(double t, Compounding arg1)
-
forwardRate
public InterestRate forwardRate(Date d1, Date d2, DayCounter arg2, Compounding arg3, Frequency f, boolean extrapolate)
-
forwardRate
public InterestRate forwardRate(Date d1, Date d2, DayCounter arg2, Compounding arg3, Frequency f)
-
forwardRate
public InterestRate forwardRate(Date d1, Date d2, DayCounter arg2, Compounding arg3)
-
forwardRate
public InterestRate forwardRate(double t1, double t2, Compounding arg2, Frequency f, boolean extrapolate)
-
forwardRate
public InterestRate forwardRate(double t1, double t2, Compounding arg2, Frequency f)
-
forwardRate
public InterestRate forwardRate(double t1, double t2, Compounding arg2)
-
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()
-
-