Class ForwardRates

java.lang.Object
org.drip.service.api.ForwardRates

public class ForwardRates
extends java.lang.Object
Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    ForwardRates()
    Empty ForwardRates constructor
  • Method Summary

    Modifier and Type Method Description
    boolean addForward​(double dblForward)
    Add a Forward Rate to the List
    double[] toArray()
    Convert the List of Forwards to an Array
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ForwardRates

      public ForwardRates()
      Empty ForwardRates constructor
  • Method Details

    • addForward

      public boolean addForward​(double dblForward)
      Add a Forward Rate to the List
      Parameters:
      dblForward - The Forward Rate to be added
      Returns:
      TRUE - Successfully added
    • toArray

      public double[] toArray()
      Convert the List of Forwards to an Array
      Returns:
      The Array of Forwards
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object