public interface Curve extends ParameterObject, Cloneable
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Create a deep copied clone.
|
CurveBuilder |
getCloneBuilder()
Returns a curve builder bases on a clone of this curve.
|
Curve |
getCloneForParameter(RandomVariable[] value)
Create a clone with a modified parameter.
|
String |
getName()
Get the name of the curve.
|
LocalDate |
getReferenceDate()
Return the reference date of this curve, i.e. the date
associated with t=0.
|
RandomVariable |
getValue(AnalyticModel model,
double time)
Returns the value for the time using the interpolation method associated with this curve
within a given context, i.e., a model.
|
RandomVariable |
getValue(double time)
Returns the value for the time using the interpolation method associated with this curve.
|
getParameter, setParameterString getName()
LocalDate getReferenceDate()
RandomVariable getValue(double time)
time - Time for which the value should be returned.RandomVariable getValue(AnalyticModel model, double time)
model - An analytic model providing a context.time - Time for which the value should be returned.Object clone() throws CloneNotSupportedException
CloneNotSupportedException - Thrown, when the curve could not be cloned.CurveBuilder getCloneBuilder() throws CloneNotSupportedException
CloneNotSupportedException - Thrown, when this curve could not be cloned.Curve getCloneForParameter(RandomVariable[] value) throws CloneNotSupportedException
ParameterObjectgetCloneForParameter in interface ParameterObjectvalue - The new parameter.CloneNotSupportedException - Thrown, when the curve could not be cloned.Copyright © 2019. All rights reserved.