Class RootFinderConfig
- java.lang.Object
-
- com.opengamma.strata.measure.curve.RootFinderConfig
-
- All Implemented Interfaces:
Serializable,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class RootFinderConfig extends Object implements org.joda.beans.ImmutableBean, Serializable
Configuration for the root finder used when calibrating curves.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRootFinderConfig.BuilderThe bean-builder forRootFinderConfig.static classRootFinderConfig.MetaThe meta-bean forRootFinderConfig.
-
Field Summary
Fields Modifier and Type Field Description static doubleDEFAULT_ABSOLUTE_TOLERANCEThe default absolute tolerance for the root finder.static intDEFAULT_MAXIMUM_STEPSThe default maximum number of steps for the root finder.static doubleDEFAULT_RELATIVE_TOLERANCEThe default relative tolerance for the root finder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RootFinderConfig.Builderbuilder()Returns a builder used to create an instance of the bean.booleanequals(Object obj)doublegetAbsoluteTolerance()Gets the absolute tolerance for the root finder.intgetMaximumSteps()Gets the maximum number of steps for the root finder.doublegetRelativeTolerance()Gets the relative tolerance for the root finder.inthashCode()static RootFinderConfig.Metameta()The meta-bean forRootFinderConfig.RootFinderConfig.MetametaBean()static RootFinderConfigstandard()Returns standard root finder configuration, using theDEFAULTconstants from this class.RootFinderConfig.BuildertoBuilder()Returns a builder that allows this bean to be mutated.StringtoString()
-
-
-
Field Detail
-
DEFAULT_ABSOLUTE_TOLERANCE
public static final double DEFAULT_ABSOLUTE_TOLERANCE
The default absolute tolerance for the root finder.- See Also:
- Constant Field Values
-
DEFAULT_RELATIVE_TOLERANCE
public static final double DEFAULT_RELATIVE_TOLERANCE
The default relative tolerance for the root finder.- See Also:
- Constant Field Values
-
DEFAULT_MAXIMUM_STEPS
public static final int DEFAULT_MAXIMUM_STEPS
The default maximum number of steps for the root finder.- See Also:
- Constant Field Values
-
-
Method Detail
-
standard
public static RootFinderConfig standard()
Returns standard root finder configuration, using theDEFAULTconstants from this class.- Returns:
- the standard root finder configuration, using the
DEFAULTconstants from this class
-
meta
public static RootFinderConfig.Meta meta()
The meta-bean forRootFinderConfig.- Returns:
- the meta-bean, not null
-
builder
public static RootFinderConfig.Builder builder()
Returns a builder used to create an instance of the bean.- Returns:
- the builder, not null
-
metaBean
public RootFinderConfig.Meta metaBean()
- Specified by:
metaBeanin interfaceorg.joda.beans.Bean
-
getAbsoluteTolerance
public double getAbsoluteTolerance()
Gets the absolute tolerance for the root finder.- Returns:
- the value of the property
-
getRelativeTolerance
public double getRelativeTolerance()
Gets the relative tolerance for the root finder.- Returns:
- the value of the property
-
getMaximumSteps
public int getMaximumSteps()
Gets the maximum number of steps for the root finder.- Returns:
- the value of the property
-
toBuilder
public RootFinderConfig.Builder toBuilder()
Returns a builder that allows this bean to be mutated.- Returns:
- the mutable builder, not null
-
-