Class RootFinderConfig.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RootFinderConfig>
-
- com.opengamma.strata.measure.curve.RootFinderConfig.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<RootFinderConfig>
- Enclosing class:
- RootFinderConfig
public static final class RootFinderConfig.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<RootFinderConfig>
The bean-builder forRootFinderConfig.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootFinderConfig.BuilderabsoluteTolerance(double absoluteTolerance)Sets the absolute tolerance for the root finder.RootFinderConfigbuild()Objectget(String propertyName)RootFinderConfig.BuildermaximumSteps(int maximumSteps)Sets the maximum number of steps for the root finder.RootFinderConfig.BuilderrelativeTolerance(double relativeTolerance)Sets the relative tolerance for the root finder.RootFinderConfig.Builderset(String propertyName, Object newValue)RootFinderConfig.Builderset(org.joda.beans.MetaProperty<?> property, Object value)StringtoString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
getin interfaceorg.joda.beans.BeanBuilder<RootFinderConfig>- Overrides:
getin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RootFinderConfig>
-
set
public RootFinderConfig.Builder set(String propertyName, Object newValue)
-
set
public RootFinderConfig.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
setin interfaceorg.joda.beans.BeanBuilder<RootFinderConfig>- Overrides:
setin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RootFinderConfig>
-
build
public RootFinderConfig build()
-
absoluteTolerance
public RootFinderConfig.Builder absoluteTolerance(double absoluteTolerance)
Sets the absolute tolerance for the root finder.- Parameters:
absoluteTolerance- the new value- Returns:
- this, for chaining, not null
-
relativeTolerance
public RootFinderConfig.Builder relativeTolerance(double relativeTolerance)
Sets the relative tolerance for the root finder.- Parameters:
relativeTolerance- the new value- Returns:
- this, for chaining, not null
-
maximumSteps
public RootFinderConfig.Builder maximumSteps(int maximumSteps)
Sets the maximum number of steps for the root finder.- Parameters:
maximumSteps- the new value- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toStringin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RootFinderConfig>
-
-