org.jquantlib.termstructures.yieldcurves
Interface PiecewiseCurve<I extends Interpolation.Interpolator>
-
- All Superinterfaces:
- Extrapolator, Observable, Observer, TermStructure, YieldTermStructure
- All Known Implementing Classes:
- PiecewiseYieldCurve
public interface PiecewiseCurve<I extends Interpolation.Interpolator> extends YieldTermStructure
This interface represent a family of piecewise curves.- See Also:
PiecewiseYieldCurve,PiecewiseDefaultCurve,PiecewiseYoYInflationCurve,PiecewiseZeroInflationCurve
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doubleaccuracy()double[]data()Date[]dates()RateHelper[]instruments()Interpolationinterpolation()Interpolation.Interpolatorinterpolator()Date[]jumpDates()double[]jumpTimes()DatemaxDate()java.util.List<Pair<Date,java.lang.Double>>nodes()voidsetData(double[] data)voidsetDates(Date[] dates)voidsetInterpolation(Interpolation interpolation)voidsetTimes(double[] times)double[]times()Traitstraits()-
Methods inherited from interface org.jquantlib.termstructures.YieldTermStructure
discount, discount, discount, discount, forwardRate, forwardRate, forwardRate, forwardRate, forwardRate, forwardRate, forwardRate, forwardRate, parRate, parRate, parRate, zeroRate, zeroRate, zeroRate, zeroRate
-
Methods inherited from interface org.jquantlib.termstructures.TermStructure
calendar, dayCounter, maxTime, referenceDate, settlementDays, timeFromReference
-
Methods inherited from interface org.jquantlib.math.interpolations.Extrapolator
allowsExtrapolation, disableExtrapolation, enableExtrapolation
-
Methods inherited from interface org.jquantlib.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, getObservers, notifyObservers, notifyObservers
-
-
-
-
Method Detail
-
maxDate
Date maxDate()
- Specified by:
maxDatein interfaceTermStructure- Returns:
- the latest date for which the curve can return values
-
instruments
RateHelper[] instruments()
-
dates
Date[] dates()
-
times
double[] times()
-
accuracy
double accuracy()
-
jumpDates
Date[] jumpDates()
-
jumpTimes
double[] jumpTimes()
-
data
double[] data()
-
traits
Traits traits()
-
interpolator
Interpolation.Interpolator interpolator()
-
interpolation
Interpolation interpolation()
-
setInterpolation
void setInterpolation(Interpolation interpolation)
-
setDates
void setDates(Date[] dates)
-
setTimes
void setTimes(double[] times)
-
setData
void setData(double[] data)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG