public class TenorDurationNodeMetrics
extends java.lang.Object
Constructor and Description |
---|
TenorDurationNodeMetrics(JulianDate dtSnap)
TenorDurationNodeMetrics Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addKRDNode(java.lang.String strKRDNode,
double dblKRDValue)
Insert a KRD Node
|
java.lang.String |
c1(java.lang.String strKey)
Retrieve the Custom C^1 Entry corresponding to the Specified Key
|
JulianDate |
date(java.lang.String strKey)
Retrieve the Custom Date Entry corresponding to the Specified Key
|
JulianDate |
dateSnap()
Retrieve the KRD Date Snap
|
CaseInsensitiveTreeMap<java.lang.Double> |
krdMap()
Retrieve the KRD Map
|
double |
r1(java.lang.String strKey)
Retrieve the Custom R^1 Entry corresponding to the Specified Key
|
boolean |
setC1(java.lang.String strKey,
java.lang.String strC1)
Set the Custom C^1 Entry corresponding to the Specified Key
|
boolean |
setDate(java.lang.String strKey,
JulianDate dtCustom)
Set the Custom Date Entry corresponding to the Specified Key
|
boolean |
setR1(java.lang.String strKey,
double dblR1)
Set the Custom R^1 Entry corresponding to the Specified Key
|
public TenorDurationNodeMetrics(JulianDate dtSnap) throws java.lang.Exception
dtSnap
- The Date Snapjava.lang.Exception
- Thrown if the Inputs are Invalidpublic JulianDate dateSnap()
public boolean addKRDNode(java.lang.String strKRDNode, double dblKRDValue)
strKRDNode
- KRD Node KeydblKRDValue
- KRD Node Valuepublic CaseInsensitiveTreeMap<java.lang.Double> krdMap()
public boolean setDate(java.lang.String strKey, JulianDate dtCustom)
strKey
- The KeydtCustom
- The Custom Date Entrypublic JulianDate date(java.lang.String strKey)
strKey
- The Keypublic boolean setC1(java.lang.String strKey, java.lang.String strC1)
strKey
- The KeystrC1
- The Custom C^1 Entrypublic java.lang.String c1(java.lang.String strKey)
strKey
- The Keypublic boolean setR1(java.lang.String strKey, double dblR1)
strKey
- The KeydblR1
- The Custom R^1 Entrypublic double r1(java.lang.String strKey) throws java.lang.Exception
strKey
- The Keyjava.lang.Exception
- Thrown if the Inputs are Invalid