Package org.drip.feed.loader
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.
- Module = Computational Core Module
- Library = Computation Support
- Project = Load, Transform, and compute Target Metrics across Feeds
- Package = Reference/Market Data Feed Loader
- 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 Setdouble[]
instrumentQuote(java.lang.String strInstrument)
Retrieve the Named Instrument Quotesjava.lang.String[]
instrumentTenor(java.lang.String strInstrument)
Retrieve the Named Instrument Tenorsjava.util.Map<java.lang.Integer,TenorQuote>
instrumentTenorQuote(java.lang.String strInstrument)
Retrieve the Named Instrument Group Quote Mapboolean
isEmpty()
Indicates whether the ISTQ is Empty or notMethods 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 InstrumentstrTenor
- Quote TenordblQuote
- Quote ValuedblScale
- 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
-