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.Builder
absoluteTolerance(double absoluteTolerance)
Sets the absolute tolerance for the root finder.RootFinderConfig
build()
Object
get(String propertyName)
RootFinderConfig.Builder
maximumSteps(int maximumSteps)
Sets the maximum number of steps for the root finder.RootFinderConfig.Builder
relativeTolerance(double relativeTolerance)
Sets the relative tolerance for the root finder.RootFinderConfig.Builder
set(String propertyName, Object newValue)
RootFinderConfig.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<RootFinderConfig>
- Overrides:
get
in 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:
set
in interfaceorg.joda.beans.BeanBuilder<RootFinderConfig>
- Overrides:
set
in 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:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<RootFinderConfig>
-
-