public static final class InterpolatedNodalSurface.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>
InterpolatedNodalSurface.| Modifier and Type | Method and Description |
|---|---|
InterpolatedNodalSurface |
build() |
Object |
get(String propertyName) |
InterpolatedNodalSurface.Builder |
interpolator(SurfaceInterpolator interpolator)
Sets the underlying interpolator.
|
InterpolatedNodalSurface.Builder |
metadata(SurfaceMetadata metadata)
Sets the surface metadata.
|
InterpolatedNodalSurface.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
InterpolatedNodalSurface.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
InterpolatedNodalSurface.Builder |
xValues(DoubleArray xValues)
Sets the array of x-values, one for each point.
|
InterpolatedNodalSurface.Builder |
yValues(DoubleArray yValues)
Sets the array of y-values, one for each point.
|
InterpolatedNodalSurface.Builder |
zValues(DoubleArray zValues)
Sets the array of z-values, one for each point.
|
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<InterpolatedNodalSurface>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>public InterpolatedNodalSurface.Builder set(String propertyName, Object newValue)
public InterpolatedNodalSurface.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<InterpolatedNodalSurface>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>public InterpolatedNodalSurface build()
public InterpolatedNodalSurface.Builder metadata(SurfaceMetadata 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 surface.
metadata - the new value, not nullpublic InterpolatedNodalSurface.Builder xValues(DoubleArray xValues)
This array will contains at least two elements.
xValues - the new value, not nullpublic InterpolatedNodalSurface.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 InterpolatedNodalSurface.Builder zValues(DoubleArray zValues)
This array will contains at least two elements and be of the same length as x-values.
zValues - the new value, not nullpublic InterpolatedNodalSurface.Builder interpolator(SurfaceInterpolator interpolator)
interpolator - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<InterpolatedNodalSurface>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.