Class InstrumentSetTenorQuote

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

public class InstrumentSetTenorQuote
extends java.lang.Object
InstrumentSetTenorQuote holds the Instrument Set Tenor and Closing Quote Group.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    InstrumentSetTenorQuote()
    Empty InstrumentSetTenorQuote Constructor
  • Method Summary

    Modifier and Type Method Description
    boolean add​(java.lang.String strInstrument, java.lang.String strTenor, double dblQuote, double dblScale)
    Add the Instrument/Tenor/Quote/Scale Field Set
    double[] instrumentQuote​(java.lang.String strInstrument)
    Retrieve the Named Instrument Quotes
    java.lang.String[] instrumentTenor​(java.lang.String strInstrument)
    Retrieve the Named Instrument Tenors
    java.util.Map<java.lang.Integer,​TenorQuote> instrumentTenorQuote​(java.lang.String strInstrument)
    Retrieve the Named Instrument Group Quote Map
    boolean isEmpty()
    Indicates whether the ISTQ is Empty or not

    Methods inherited from class java.lang.Object

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

    • InstrumentSetTenorQuote

      public InstrumentSetTenorQuote()
      Empty InstrumentSetTenorQuote Constructor
  • Method Details

    • add

      public boolean add​(java.lang.String strInstrument, java.lang.String strTenor, double dblQuote, double dblScale)
      Add the Instrument/Tenor/Quote/Scale Field Set
      Parameters:
      strInstrument - Quote Instrument
      strTenor - Quote Tenor
      dblQuote - Quote Value
      dblScale - Quote Scale
      Returns:
      TRUE - Group Set successfully added
    • instrumentTenorQuote

      public java.util.Map<java.lang.Integer,​TenorQuote> instrumentTenorQuote​(java.lang.String strInstrument)
      Retrieve the Named Instrument Group Quote Map
      Parameters:
      strInstrument - The Instrument Group Name
      Returns:
      The Named Instrument Group Quote Map
    • instrumentTenor

      public java.lang.String[] instrumentTenor​(java.lang.String strInstrument)
      Retrieve the Named Instrument Tenors
      Parameters:
      strInstrument - The Instrument Group Name
      Returns:
      The Named Instrument Tenors
    • instrumentQuote

      public double[] instrumentQuote​(java.lang.String strInstrument)
      Retrieve the Named Instrument Quotes
      Parameters:
      strInstrument - The Instrument Group Name
      Returns:
      The Named Instrument Quotes
    • isEmpty

      public boolean isEmpty()
      Indicates whether the ISTQ is Empty or not
      Returns:
      TRUE - ISTQ is Empty