Class CurveInterpolation.Builder

java.lang.Object
net.finmath.marketdata.model.curves.CurveInterpolation.Builder
All Implemented Interfaces:
CurveBuilder
Direct Known Subclasses:
PiecewiseCurve.Builder, SeasonalCurve.Builder
Enclosing class:
CurveInterpolation

public static class CurveInterpolation.Builder extends Object implements CurveBuilder
A builder (following the builder pattern) for CurveFromInterpolationPoints objects. Allows to successively construct a curve object by adding points.
Author:
Christian Fries
  • Constructor Details

    • Builder

      public Builder()
      Build a curve.
    • Builder

      public Builder(String name, LocalDate referenceDate)
      Build a curve with a given name and given reference date.
      Parameters:
      name - The name of this curve.
      referenceDate - The reference date for this curve, i.e., the date which defined t=0.
    • Builder

      public Builder(CurveInterpolation curveInterpolation) throws CloneNotSupportedException
      Build a curve by cloning a given curve.
      Parameters:
      curveInterpolation - A curve to be used as starting point for the new curve.
      Throws:
      CloneNotSupportedException - Thrown, when the curve could not be cloned.
  • Method Details