Class TenorQuote

java.lang.Object
org.drip.feed.loader.TenorQuote

public class TenorQuote
extends java.lang.Object
TenorQuote holds the Instrument Tenor and Closing Quote.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    TenorQuote​(java.lang.String strTenor, double dblQuote)
    TenorQuote Constructor
  • Method Summary

    Modifier and Type Method Description
    double quote()
    Retrieve the Closing Quote
    java.lang.String tenor()
    Retrieve the Closing Tenor
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • TenorQuote

      public TenorQuote​(java.lang.String strTenor, double dblQuote) throws java.lang.Exception
      TenorQuote Constructor
      Parameters:
      strTenor - The Closing Tenor
      dblQuote - The Closing Quote
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • tenor

      public java.lang.String tenor()
      Retrieve the Closing Tenor
      Returns:
      The Closing Tenor
    • quote

      public double quote()
      Retrieve the Closing Quote
      Returns:
      The Closing Quote
    • toString

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