public static final class InterpolatedNodalCurve.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalCurve>
InterpolatedNodalCurve.| Modifier and Type | Method and Description |
|---|---|
InterpolatedNodalCurve |
build() |
InterpolatedNodalCurve.Builder |
extrapolatorLeft(CurveExtrapolator extrapolatorLeft)
Sets the extrapolator for x-values on the left, defaulted to 'Flat".
|
InterpolatedNodalCurve.Builder |
extrapolatorRight(CurveExtrapolator extrapolatorRight)
Sets the extrapolator for x-values on the right, defaulted to 'Flat".
|
Object |
get(String propertyName) |
InterpolatedNodalCurve.Builder |
interpolator(CurveInterpolator interpolator)
Sets the interpolator.
|
InterpolatedNodalCurve.Builder |
metadata(CurveMetadata metadata)
Sets the curve metadata.
|
InterpolatedNodalCurve.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
InterpolatedNodalCurve.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
InterpolatedNodalCurve.Builder |
xValues(DoubleArray xValues)
Sets the array of x-values, one for each point.
|
InterpolatedNodalCurve.Builder |
yValues(DoubleArray yValues)
Sets the array of y-values, one for each point.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<InterpolatedNodalCurve>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalCurve>public InterpolatedNodalCurve.Builder set(String propertyName, Object newValue)
public InterpolatedNodalCurve.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<InterpolatedNodalCurve>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalCurve>public InterpolatedNodalCurve build()
public InterpolatedNodalCurve.Builder metadata(CurveMetadata metadata)
The metadata includes an optional list of parameter metadata. If present, the size of the parameter metadata list will match the number of parameters of this curve.
metadata - the new value, not nullpublic InterpolatedNodalCurve.Builder xValues(DoubleArray xValues)
This array will contains at least two elements and be of the same length as y-values.
xValues - the new value, not nullpublic InterpolatedNodalCurve.Builder yValues(DoubleArray yValues)
This array will contains at least two elements and be of the same length as x-values.
yValues - the new value, not nullpublic InterpolatedNodalCurve.Builder interpolator(CurveInterpolator interpolator)
interpolator - the new value, not nullpublic InterpolatedNodalCurve.Builder extrapolatorLeft(CurveExtrapolator extrapolatorLeft)
extrapolatorLeft - the new value, not nullpublic InterpolatedNodalCurve.Builder extrapolatorRight(CurveExtrapolator extrapolatorRight)
extrapolatorRight - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalCurve>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.